diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-23 20:19:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-23 20:19:11 +0900 |
commit | c2ad4a056c3fecc0643b92755bc851b2fa299c49 (patch) | |
tree | 8448f867f1d3be9bf7fb596dd0be6d477276f09d /kalarm/daemon.cpp | |
parent | c036d97d35d25c4511d9569d40c1de07dab96bb6 (diff) | |
download | tdepim-c2ad4a056c3fecc0643b92755bc851b2fa299c49.tar.gz tdepim-c2ad4a056c3fecc0643b92755bc851b2fa299c49.zip |
Sped up KAlarm startup mechanism. This resolves bug 1610.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kalarm/daemon.cpp')
-rw-r--r-- | kalarm/daemon.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kalarm/daemon.cpp b/kalarm/daemon.cpp index c5769f942..842514d9a 100644 --- a/kalarm/daemon.cpp +++ b/kalarm/daemon.cpp @@ -64,21 +64,21 @@ class NotificationHandler : public TQObject, virtual public AlarmGuiIface }; -Daemon* Daemon::mInstance = 0; -NotificationHandler* Daemon::mDcopHandler = 0; -TQValueList<TQString> Daemon::mQueuedEvents; -TQValueList<TQString> Daemon::mSavingEvents; +Daemon* Daemon::mInstance = 0; +NotificationHandler* Daemon::mDcopHandler = 0; +TQValueList<TQString> Daemon::mQueuedEvents; +TQValueList<TQString> Daemon::mSavingEvents; TQTimer* Daemon::mStartTimer = 0; TQTimer* Daemon::mRegisterTimer = 0; TQTimer* Daemon::mStatusTimer = 0; -int Daemon::mStatusTimerCount = 0; -int Daemon::mStatusTimerInterval; -int Daemon::mStartTimeout = 0; -Daemon::Status Daemon::mStatus = Daemon::STOPPED; -bool Daemon::mRunning = false; -bool Daemon::mCalendarDisabled = false; -bool Daemon::mEnableCalPending = false; -bool Daemon::mRegisterFailMsg = false; +int Daemon::mStatusTimerCount = 0; +int Daemon::mStatusTimerInterval; +int Daemon::mStartTimeout = 0; +Daemon::Status Daemon::mStatus = Daemon::STOPPED; +bool Daemon::mRunning = false; +bool Daemon::mCalendarDisabled = false; +bool Daemon::mEnableCalPending = false; +bool Daemon::mRegisterFailMsg = false; // How frequently to check the daemon's status after starting it. // This is equal to the length of time we wait after the daemon is registered with DCOP @@ -655,7 +655,7 @@ int Daemon::maxTimeSinceCheck() =============================================================================*/ NotificationHandler::NotificationHandler() - : DCOPObject(NOTIFY_DCOP_OBJECT), + : DCOPObject(NOTIFY_DCOP_OBJECT), TQObject() { kdDebug(5950) << "NotificationHandler::NotificationHandler()\n"; |