Diffstat (limited to 'kalarmd/simplealarmdaemonimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kalarmd/simplealarmdaemonimpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index ec7f730..e8ec033 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp | |||
@@ -637,45 +637,47 @@ void SimpleAlarmDaemonImpl::newMail() | |||
637 | QCopEnvelope e("QPE/Application/ompi", "newMail()"); | 637 | QCopEnvelope e("QPE/Application/ompi", "newMail()"); |
638 | } | 638 | } |
639 | void SimpleAlarmDaemonImpl::showAdd() | 639 | void SimpleAlarmDaemonImpl::showAdd() |
640 | { | 640 | { |
641 | QCopEnvelope e("QPE/Application/kapi", "raise()"); | 641 | QCopEnvelope e("QPE/Application/kapi", "raise()"); |
642 | } | 642 | } |
643 | void SimpleAlarmDaemonImpl::ringSync() | 643 | void SimpleAlarmDaemonImpl::ringSync() |
644 | { | 644 | { |
645 | QCopEnvelope e("QPE/Application/kopi", "-ringSync"); | 645 | QCopEnvelope e("QPE/Application/kopi", "-ringSync"); |
646 | 646 | ||
647 | } | 647 | } |
648 | void SimpleAlarmDaemonImpl::newCountdown() | 648 | void SimpleAlarmDaemonImpl::newCountdown() |
649 | { | 649 | { |
650 | //recieve("cal_alarm", 10 ); | 650 | //recieve("cal_alarm", 10 ); |
651 | } | 651 | } |
652 | void SimpleAlarmDaemonImpl::simulate() | 652 | void SimpleAlarmDaemonImpl::simulate() |
653 | { | 653 | { |
654 | writeFile(); | 654 | writeFile(); |
655 | QString filename = getenv("QPEDIR") ; | 655 | QString filename = getenv("QPEDIR") ; |
656 | filename += "/pics/kdepim/korganizer/koalarm.wav"; | 656 | filename += "/pics/kdepim/korganizer/koalarm.wav"; |
657 | startAlarm("Alarm simulation", filename ); | 657 | startAlarm("Alarm simulation", filename ); |
658 | } | 658 | } |
659 | void SimpleAlarmDaemonImpl::showKO() | 659 | void SimpleAlarmDaemonImpl::showKO() |
660 | { | 660 | { |
661 | QCopEnvelope e("QPE/Application/kopi", "-showKO"); | 661 | QCopEnvelope e("QPE/Application/kopi", "-showKO"); |
662 | // testing only | ||
663 | //QCopEnvelope e("QPE/Application/kopi", "nextView()"); | ||
662 | 664 | ||
663 | } | 665 | } |
664 | void SimpleAlarmDaemonImpl::showTodo() | 666 | void SimpleAlarmDaemonImpl::showTodo() |
665 | { | 667 | { |
666 | QCopEnvelope e("QPE/Application/kopi", "-showTodo"); | 668 | QCopEnvelope e("QPE/Application/kopi", "-showTodo"); |
667 | 669 | ||
668 | } | 670 | } |
669 | void SimpleAlarmDaemonImpl::writeJournal() | 671 | void SimpleAlarmDaemonImpl::writeJournal() |
670 | { | 672 | { |
671 | QCopEnvelope e("QPE/Application/kopi", "-showJournal"); | 673 | QCopEnvelope e("QPE/Application/kopi", "-showJournal"); |
672 | 674 | ||
673 | } | 675 | } |
674 | 676 | ||
675 | void SimpleAlarmDaemonImpl::mousePressEvent( QMouseEvent * ) | 677 | void SimpleAlarmDaemonImpl::mousePressEvent( QMouseEvent * ) |
676 | { | 678 | { |
677 | 679 | ||
678 | mPopUp->popup(mapToGlobal(QPoint (0, -mPopUp->height() ))); | 680 | mPopUp->popup(mapToGlobal(QPoint (0, -mPopUp->height() ))); |
679 | 681 | ||
680 | } | 682 | } |
681 | 683 | ||