![]() |
Home · All Namespaces · All Classes |
#include <clock.h>


Public Slots | |
| void | setShortDisplay (bool isShort) |
Public Member Functions | |
| Clock (QGraphicsItem *parent=NULL) | |
| ~Clock () | |
A widget for showing the current time.
Definition at line 37 of file clock.h.
| Clock::Clock | ( | QGraphicsItem * | parent = NULL |
) | [explicit] |
Constructs a new Clock.
Definition at line 23 of file clock.cpp.
00023 : 00024 MWidgetController(new ClockModel, parent), 00025 locale(new MLocale()) 00026 { 00027 // Set the initial 24 hour mode 00028 updateLocaleSettings(); 00029 00030 #ifdef HAVE_QMSYSTEM 00031 // Be interested in changes to system time 00032 connect(&qmTime, SIGNAL(timeOrSettingsChanged(MeeGo::QmTimeWhatChanged)), 00033 this, SLOT(updateSettings(MeeGo::QmTimeWhatChanged))); 00034 #endif 00035 00036 // Be interested in changes to 24h mode 00037 connect(locale.data(), SIGNAL(settingsChanged()), 00038 this, SLOT(updateLocaleSettings())); 00039 locale->connectSettings(); 00040 00041 // Configure the timer 00042 timer.setSingleShot(true); 00043 connect(&timer, SIGNAL(timeout()), this, SLOT(updateModelAndSetupTimer())); 00044 updateModelAndSetupTimer(); 00045 }
| void Clock::setShortDisplay | ( | bool | isShort | ) | [slot] |
| Copyright © 2010 Nokia Corporation | Generated on Wed Nov 10 16:05:03 2010 Doxygen 1.6.1 |
MeeGo Touch |