summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp14
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;
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'
*/
Today::Today( QWidget* parent, const char* name, WFlags fl )
@@ -422,11 +423,13 @@ 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()");
}
/*
@@ -441,6 +444,7 @@ void Today::startDatebook() {
* starts the edit dialog as known from datebook
*/
+
extern QPEApplication *todayApp;
void Today::editEvent(const Event &e) {