summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp18
-rw-r--r--core/pim/today/today.h1
2 files changed, 12 insertions, 7 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 9e9d31f..ad1ec90 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -423,2 +423,10 @@ void Today::getTodo() {
423 423
424
425void Today::startAddressbook() {
426 QCopEnvelope e("QPE/System", "execute(QString)");
427 e << QString("addressbook");
428}
429
430extern QPEApplication *todayApp;
431
424/* 432/*
@@ -427,6 +435,6 @@ void Today::getTodo() {
427void Today::editCard() { 435void Today::editCard() {
428 QCopEnvelope w("QPE/System", "execute(QString)");
429 w << QString("addressbook");
430 436
431 // while( !QCopChannel::isRegistered("QPE/Addressbook")) 437 startAddressbook();
438
439 while( !QCopChannel::isRegistered("QPE/Addressbook")) todayApp->processEvents();
432 QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); 440 QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()");
@@ -445,6 +453,2 @@ void Today::startDatebook() {
445 */ 453 */
446
447
448extern QPEApplication *todayApp;
449
450void Today::editEvent(const Event &e) { 454void Today::editEvent(const Event &e) {
diff --git a/core/pim/today/today.h b/core/pim/today/today.h
index 54f31cc..f28c029 100644
--- a/core/pim/today/today.h
+++ b/core/pim/today/today.h
@@ -48,2 +48,3 @@ class Today : public TodayBase {
48 void startDatebook(); 48 void startDatebook();
49 void startAddressbook();
49 void startMail(); 50 void startMail();