summaryrefslogtreecommitdiffabout
path: root/kalarmd
authorzautrix <zautrix>2005-03-26 21:33:09 (UTC)
committer zautrix <zautrix>2005-03-26 21:33:09 (UTC)
commit7177e62052b732f901eca6627825d0b38d8438be (patch) (unidiff)
tree9c6531a24e57221db445841610eaed7350ddc21f /kalarmd
parenta24f954912ee2dbb76dcbde1abc9f20b06abbf93 (diff)
downloadkdepimpi-7177e62052b732f901eca6627825d0b38d8438be.zip
kdepimpi-7177e62052b732f901eca6627825d0b38d8438be.tar.gz
kdepimpi-7177e62052b732f901eca6627825d0b38d8438be.tar.bz2
next view
Diffstat (limited to 'kalarmd') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonimpl.cpp4
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}
639void SimpleAlarmDaemonImpl::showAdd() 639void SimpleAlarmDaemonImpl::showAdd()
640{ 640{
641 QCopEnvelope e("QPE/Application/kapi", "raise()"); 641 QCopEnvelope e("QPE/Application/kapi", "raise()");
642} 642}
643void SimpleAlarmDaemonImpl::ringSync() 643void SimpleAlarmDaemonImpl::ringSync()
644{ 644{
645 QCopEnvelope e("QPE/Application/kopi", "-ringSync"); 645 QCopEnvelope e("QPE/Application/kopi", "-ringSync");
646 646
647} 647}
648void SimpleAlarmDaemonImpl::newCountdown() 648void SimpleAlarmDaemonImpl::newCountdown()
649{ 649{
650 //recieve("cal_alarm", 10 ); 650 //recieve("cal_alarm", 10 );
651} 651}
652void SimpleAlarmDaemonImpl::simulate() 652void 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}
659void SimpleAlarmDaemonImpl::showKO() 659void 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}
664void SimpleAlarmDaemonImpl::showTodo() 666void SimpleAlarmDaemonImpl::showTodo()
665{ 667{
666 QCopEnvelope e("QPE/Application/kopi", "-showTodo"); 668 QCopEnvelope e("QPE/Application/kopi", "-showTodo");
667 669
668} 670}
669void SimpleAlarmDaemonImpl::writeJournal() 671void SimpleAlarmDaemonImpl::writeJournal()
670{ 672{
671 QCopEnvelope e("QPE/Application/kopi", "-showJournal"); 673 QCopEnvelope e("QPE/Application/kopi", "-showJournal");
672 674
673} 675}
674 676
675void SimpleAlarmDaemonImpl::mousePressEvent( QMouseEvent * ) 677void 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