author | zautrix <zautrix> | 2005-10-08 23:54:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-08 23:54:34 (UTC) |
commit | 6d084862c396f58c949e713e9b159ec20743fd8a (patch) (unidiff) | |
tree | 6e6f5166df3c2d4044362c385a177a3a76ebf32b /kalarmd | |
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 | |||
@@ -621,17 +621,17 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) | |||
621 | AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.utf8()); | 621 | AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.utf8()); |
622 | mTimerStartLabel->setText( disp ); | 622 | mTimerStartLabel->setText( disp ); |
623 | int w = 200; | 623 | int w = 200; |
624 | int h = mTimerStartLabel->sizeHint().height() ; | 624 | int h = mTimerStartLabel->sizeHint().height() ; |
625 | int dw = QApplication::desktop()->width(); | 625 | int dw = QApplication::desktop()->width(); |
626 | int dh = QApplication::desktop()->height(); | 626 | int dh = QApplication::desktop()->height(); |
627 | mTimerStartLabel->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); | 627 | mTimerStartLabel->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); |
628 | mTimerStartLabel->show(); | 628 | mTimerStartLabel->show(); |
629 | QTimer::singleShot( 3000, mTimerStartLabel, SLOT ( hide() ) ); | 629 | QTimer::singleShot( 2000, mTimerStartLabel, SLOT ( hide() ) ); |
630 | mTimerTime = 1; | 630 | mTimerTime = 1; |
631 | } | 631 | } |
632 | 632 | ||
633 | void SimpleAlarmDaemonImpl::writeFile() | 633 | void SimpleAlarmDaemonImpl::writeFile() |
634 | { | 634 | { |
635 | QCopEnvelope e("QPE/Application/kopi", "-writeFileSilent"); | 635 | QCopEnvelope e("QPE/Application/kopi", "-writeFileSilent"); |
636 | //QCopEnvelope e("QPE/Application/kopi", "-writeFile"); | 636 | //QCopEnvelope e("QPE/Application/kopi", "-writeFile"); |
637 | } | 637 | } |