author | zautrix <zautrix> | 2005-10-08 23:54:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-08 23:54:34 (UTC) |
commit | 6d084862c396f58c949e713e9b159ec20743fd8a (patch) (side-by-side diff) | |
tree | 6e6f5166df3c2d4044362c385a177a3a76ebf32b | |
parent | c0b255e16d45fed73185fac431169284cc1431e8 (diff) | |
download | kdepimpi-6d084862c396f58c949e713e9b159ec20743fd8a.zip kdepimpi-6d084862c396f58c949e713e9b159ec20743fd8a.tar.gz kdepimpi-6d084862c396f58c949e713e9b159ec20743fd8a.tar.bz2 |
fixed time
-rw-r--r-- | kalarmd/simplealarmdaemonimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 04b8b21..c1e064c 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp @@ -605,49 +605,49 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) minutes = mCustomMinutes; mRunningTimerText = mCustomText.stripWhiteSpace (); int in = mRunningTimerText.find( " " ); mRunningTimerText = mRunningTimerText.left ( in ); } else { mess += mTimerPopUp->text( minutes ); disp = mTimerPopUp->text( minutes ); mRunningTimerText = mTimerPopUp->text( minutes ); minutes -= 10; } } //minutes = 1; mRunningTimer = QDateTime::currentDateTime().addSecs( minutes * 60 ); timerMesssage = mess; AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.utf8()); mTimerStartLabel->setText( disp ); int w = 200; int h = mTimerStartLabel->sizeHint().height() ; int dw = QApplication::desktop()->width(); 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( 2000, mTimerStartLabel, SLOT ( hide() ) ); mTimerTime = 1; } void SimpleAlarmDaemonImpl::writeFile() { QCopEnvelope e("QPE/Application/kopi", "-writeFileSilent"); //QCopEnvelope e("QPE/Application/kopi", "-writeFile"); } void SimpleAlarmDaemonImpl::showWN() { QCopEnvelope e("QPE/Application/kopi", "-showWN"); } void SimpleAlarmDaemonImpl::newTodo() { QCopEnvelope e("QPE/Application/kopi", "-newTodo"); } void SimpleAlarmDaemonImpl::newEvent() { QCopEnvelope e("QPE/Application/kopi", "-newEvent"); } void SimpleAlarmDaemonImpl::newMail() { |