summaryrefslogtreecommitdiff
path: root/core/pim
authorhakan <hakan>2002-03-29 16:34:24 (UTC)
committer hakan <hakan>2002-03-29 16:34:24 (UTC)
commitdee656e9bf63cc44f906375d5b24cd953a945a8f (patch) (unidiff)
tree5277eb78d25bd3b55dd3196dc8eff926d0e3ba4d /core/pim
parent3a1684894efb2106f957469b94350abf754a404e (diff)
downloadopie-dee656e9bf63cc44f906375d5b24cd953a945a8f.zip
opie-dee656e9bf63cc44f906375d5b24cd953a945a8f.tar.gz
opie-dee656e9bf63cc44f906375d5b24cd953a945a8f.tar.bz2
Clicking an event will now bring it up in the datebook dateentry editor
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/main.cpp3
-rw-r--r--core/pim/today/today.cpp13
2 files changed, 10 insertions, 6 deletions
diff --git a/core/pim/today/main.cpp b/core/pim/today/main.cpp
index 552db7c..72c0a2e 100644
--- a/core/pim/today/main.cpp
+++ b/core/pim/today/main.cpp
@@ -22,2 +22,4 @@
22 22
23QPEApplication *todayApp;
24
23int main( int argc, char ** argv ) 25int main( int argc, char ** argv )
@@ -25,2 +27,3 @@ int main( int argc, char ** argv )
25 QPEApplication a(argc, argv); 27 QPEApplication a(argc, argv);
28 todayApp=&a;
26 29
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index aef0a9b..66a4152 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -28,2 +28,3 @@
28#include <qpe/global.h> 28#include <qpe/global.h>
29#include <qpe/qpeapplication.h>
29 30
@@ -408,2 +409,5 @@ void Today::startDatebook() {
408 */ 409 */
410
411extern QPEApplication *todayApp;
412
409void Today::editEvent(const Event &e) { 413void Today::editEvent(const Event &e) {
@@ -411,8 +415,5 @@ void Today::editEvent(const Event &e) {
411 415
412 //Dissabled for now as uid's not working properly 416 while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents();
413 /* 417 QCopEnvelope env("QPE/Datebook", "editEvent(int)");
414 while(!QCopChannel::isRegistered("QPE/Datebook")) sleep(1); 418 env << e.uid();
415 QCopEnvelope env("QPE/Datebook", "editEvent(int)");
416 env << e.uid();
417 */
418} 419}