-rw-r--r-- | core/pim/today/today.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 69a0f75..06cfa01 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -58,7 +58,8 @@ int AUTOSTART; int NEW_START=1; QString AUTOSTART_TIMER; +int NEXTDAYS=1; -/* - * Constructs a Example which is a child of 'parent', with the + +/* Constructs a Example which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ @@ -423,9 +424,11 @@ void Today::getTodo() { /* - * launch addressbook + * launch addressbook (personal card) */ void Today::editCard() { - QCopEnvelope e("QPE/System", "execute(QString)"); - e << QString("addressbook"); + QCopEnvelope w("QPE/System", "execute(QString)"); + w << QString("addressbook"); + + QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); } @@ -442,4 +445,5 @@ void Today::startDatebook() { */ + extern QPEApplication *todayApp; |