-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 | |||
@@ -57,9 +57,10 @@ int ONLY_LATER; | |||
57 | int AUTOSTART; | 57 | int AUTOSTART; |
58 | int NEW_START=1; | 58 | int NEW_START=1; |
59 | QString AUTOSTART_TIMER; | 59 | QString AUTOSTART_TIMER; |
60 | int NEXTDAYS=1; | ||
60 | 61 | ||
61 | /* | 62 | |
62 | * Constructs a Example which is a child of 'parent', with the | 63 | /* Constructs a Example which is a child of 'parent', with the |
63 | * name 'name' and widget flags set to 'f' | 64 | * name 'name' and widget flags set to 'f' |
64 | */ | 65 | */ |
65 | Today::Today( QWidget* parent, const char* name, WFlags fl ) | 66 | Today::Today( QWidget* parent, const char* name, WFlags fl ) |
@@ -422,11 +423,13 @@ void Today::getTodo() { | |||
422 | 423 | ||
423 | 424 | ||
424 | /* | 425 | /* |
425 | * launch addressbook | 426 | * launch addressbook (personal card) |
426 | */ | 427 | */ |
427 | void Today::editCard() { | 428 | void Today::editCard() { |
428 | QCopEnvelope e("QPE/System", "execute(QString)"); | 429 | QCopEnvelope w("QPE/System", "execute(QString)"); |
429 | e << QString("addressbook"); | 430 | w << QString("addressbook"); |
431 | |||
432 | QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); | ||
430 | } | 433 | } |
431 | 434 | ||
432 | /* | 435 | /* |
@@ -441,6 +444,7 @@ void Today::startDatebook() { | |||
441 | * starts the edit dialog as known from datebook | 444 | * starts the edit dialog as known from datebook |
442 | */ | 445 | */ |
443 | 446 | ||
447 | |||
444 | extern QPEApplication *todayApp; | 448 | extern QPEApplication *todayApp; |
445 | 449 | ||
446 | void Today::editEvent(const Event &e) { | 450 | void Today::editEvent(const Event &e) { |