-rw-r--r-- | core/pim/today/today.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 06cfa01..9e9d31f 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -130,23 +130,23 @@ void Today::setOwnerField(QString &message) { | |||
130 | * If registered against that today ist started on each resume. | 130 | * If registered against that today ist started on each resume. |
131 | */ | 131 | */ |
132 | void Today::autoStart() { | 132 | void Today::autoStart() { |
133 | Config cfg("today"); | 133 | Config cfg("today"); |
134 | cfg.setGroup("Autostart"); | 134 | cfg.setGroup("Autostart"); |
135 | int AUTOSTART = cfg.readNumEntry("autostart",1); | 135 | int AUTOSTART = cfg.readNumEntry("autostart",1); |
136 | // qDebug(QString("%1").arg(AUTOSTART)); | 136 | // qDebug(QString("%1").arg(AUTOSTART)); |
137 | if (AUTOSTART) { | 137 | if (AUTOSTART) { |
138 | QCopEnvelope e("QPE/System", "autoStart(QString, QString, QString)"); | 138 | QCopEnvelope e("QPE/System", "autoStart(QString,QString,QString)"); |
139 | e << QString("add"); | 139 | e << QString("add"); |
140 | e << QString("today"); | 140 | e << QString("today"); |
141 | e << AUTOSTART_TIMER; | 141 | e << AUTOSTART_TIMER; |
142 | } else { | 142 | } else { |
143 | qDebug("Nun in else bei autostart"); | 143 | qDebug("Nun in else bei autostart"); |
144 | QCopEnvelope e("QPE/System", "autoStart(QString, QString)"); | 144 | QCopEnvelope e("QPE/System", "autoStart(QString,QString)"); |
145 | e << QString("remove"); | 145 | e << QString("remove"); |
146 | e << QString("today"); | 146 | e << QString("today"); |
147 | } | 147 | } |
148 | } | 148 | } |
149 | 149 | ||
150 | /* | 150 | /* |
151 | * Repaint method. Reread all fields. | 151 | * Repaint method. Reread all fields. |
152 | */ | 152 | */ |
@@ -416,24 +416,24 @@ void Today::getTodo() { | |||
416 | output += tmpout; | 416 | output += tmpout; |
417 | } else { | 417 | } else { |
418 | output = tr("No active tasks"); | 418 | output = tr("No active tasks"); |
419 | } | 419 | } |
420 | 420 | ||
421 | TodoField->setText(tr(output)); | 421 | TodoField->setText(tr(output)); |
422 | } | 422 | } |
423 | 423 | ||
424 | |||
425 | /* | 424 | /* |
426 | * launch addressbook (personal card) | 425 | * launch addressbook (personal card) |
427 | */ | 426 | */ |
428 | void Today::editCard() { | 427 | void Today::editCard() { |
429 | QCopEnvelope w("QPE/System", "execute(QString)"); | 428 | QCopEnvelope w("QPE/System", "execute(QString)"); |
430 | w << QString("addressbook"); | 429 | w << QString("addressbook"); |
431 | 430 | ||
431 | // while( !QCopChannel::isRegistered("QPE/Addressbook")) | ||
432 | QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); | 432 | QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); |
433 | } | 433 | } |
434 | 434 | ||
435 | /* | 435 | /* |
436 | * launches datebook | 436 | * launches datebook |
437 | */ | 437 | */ |
438 | void Today::startDatebook() { | 438 | void Today::startDatebook() { |
439 | QCopEnvelope e("QPE/System", "execute(QString)"); | 439 | QCopEnvelope e("QPE/System", "execute(QString)"); |