From ae59704dc0643963d0ed648baf7186b741c3ecb2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 23 Oct 2005 23:46:14 +0000 Subject: shorter delay --- 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& ) execl ( tempfilename.latin1(), 0 ); return; } - QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); + QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); return; } @@ -354,7 +354,7 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& ) mAlarmMessage = mess.mid( 9 ) ; } - QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); + QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); startAlarm( mAlarmMessage, filename ); } @@ -627,7 +627,7 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) int dh = QApplication::desktop()->height(); mTimerStartLabel->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); mTimerStartLabel->show(); - QTimer::singleShot( 3000, mTimerStartLabel, SLOT ( hide() ) ); + QTimer::singleShot( 5000, mTimerStartLabel, SLOT ( hide() ) ); mTimerTime = 1; } @@ -669,7 +669,7 @@ void SimpleAlarmDaemonImpl::newCountdown() } void SimpleAlarmDaemonImpl::simulate() { - QTimer::singleShot( 5000, this, SLOT ( writeFile() ) ); + QTimer::singleShot( 2000, this, SLOT ( writeFile() ) ); QString filename = getenv("QPEDIR") ; filename += "/pics/kdepim/korganizer/koalarm.wav"; startAlarm("Alarm simulation", filename ); -- cgit v0.9.0.2