author | zautrix <zautrix> | 2005-10-23 23:46:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-23 23:46:14 (UTC) |
commit | ae59704dc0643963d0ed648baf7186b741c3ecb2 (patch) (unidiff) | |
tree | 4a9791decd5dca230498408bec2d64f6c25ddb3e /kalarmd | |
parent | c1cb0653160e8e449d07a0df7b84b2398c0201fb (diff) | |
download | kdepimpi-ae59704dc0643963d0ed648baf7186b741c3ecb2.zip kdepimpi-ae59704dc0643963d0ed648baf7186b741c3ecb2.tar.gz kdepimpi-ae59704dc0643963d0ed648baf7186b741c3ecb2.tar.bz2 |
shorter delay
-rw-r--r-- | kalarmd/simplealarmdaemonimpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 553e377..82873e1 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp | |||
@@ -328,7 +328,7 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& ) | |||
328 | execl ( tempfilename.latin1(), 0 ); | 328 | execl ( tempfilename.latin1(), 0 ); |
329 | return; | 329 | return; |
330 | } | 330 | } |
331 | QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); | 331 | QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); |
332 | return; | 332 | return; |
333 | } | 333 | } |
334 | 334 | ||
@@ -354,7 +354,7 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& ) | |||
354 | mAlarmMessage = mess.mid( 9 ) ; | 354 | mAlarmMessage = mess.mid( 9 ) ; |
355 | } | 355 | } |
356 | 356 | ||
357 | QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); | 357 | QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); |
358 | startAlarm( mAlarmMessage, filename ); | 358 | startAlarm( mAlarmMessage, filename ); |
359 | 359 | ||
360 | } | 360 | } |
@@ -627,7 +627,7 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) | |||
627 | int dh = QApplication::desktop()->height(); | 627 | int dh = QApplication::desktop()->height(); |
628 | mTimerStartLabel->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); | 628 | mTimerStartLabel->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); |
629 | mTimerStartLabel->show(); | 629 | mTimerStartLabel->show(); |
630 | QTimer::singleShot( 3000, mTimerStartLabel, SLOT ( hide() ) ); | 630 | QTimer::singleShot( 5000, mTimerStartLabel, SLOT ( hide() ) ); |
631 | mTimerTime = 1; | 631 | mTimerTime = 1; |
632 | } | 632 | } |
633 | 633 | ||
@@ -669,7 +669,7 @@ void SimpleAlarmDaemonImpl::newCountdown() | |||
669 | } | 669 | } |
670 | void SimpleAlarmDaemonImpl::simulate() | 670 | void SimpleAlarmDaemonImpl::simulate() |
671 | { | 671 | { |
672 | QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); | 672 | QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); |
673 | QString filename = getenv("QPEDIR") ; | 673 | QString filename = getenv("QPEDIR") ; |
674 | filename += "/pics/kdepim/korganizer/koalarm.wav"; | 674 | filename += "/pics/kdepim/korganizer/koalarm.wav"; |
675 | startAlarm("Alarm simulation", filename ); | 675 | startAlarm("Alarm simulation", filename ); |