summaryrefslogtreecommitdiff
path: root/core/pim
authorharlekin <harlekin>2002-06-11 21:51:34 (UTC)
committer harlekin <harlekin>2002-06-11 21:51:34 (UTC)
commit7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8 (patch) (unidiff)
treecd2782f9be46e59cb49867bb9221e4e6d7b27d01 /core/pim
parent53cbd5404cea16ec1ddbd2e264fcc42acfb453c8 (diff)
downloadopie-7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8.zip
opie-7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8.tar.gz
opie-7ab79b2a607a0790d9ef040c76ae2687d9c5a3f8.tar.bz2
attempt to fix remove from autostart
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/changelog1
-rw-r--r--core/pim/today/today.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/core/pim/today/changelog b/core/pim/today/changelog
index 93bbcac..73de50d 100644
--- a/core/pim/today/changelog
+++ b/core/pim/today/changelog
@@ -1,14 +1,15 @@
10.3.4 10.3.4
2 2
3* "fill our business card now a clickable label"
3* Several bugfixes regarding todo section. 4* Several bugfixes regarding todo section.
4 5
50.3.3 60.3.3
6 7
7* Changed the logo so it better scales to bigger display and also 8* Changed the logo so it better scales to bigger display and also
8 made the "Today" string translatable. 9 made the "Today" string translatable.
9* some am/pm fixes 10* some am/pm fixes
10* clickable labels now in libopie 11* clickable labels now in libopie
11 12
120.3.2 130.3.2
13 14
14* Autostart is now more configurable. You can decide how long 15* Autostart is now more configurable. You can decide how long
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
@@ -126,31 +126,31 @@ void Today::setOwnerField(QString &message) {
126} 126}
127 127
128/* 128/*
129 * Autostart, uses the new (opie only) autostart method in the launcher code. 129 * Autostart, uses the new (opie only) autostart method in the launcher code.
130 * If registered against that today ist started on each resume. 130 * If registered against that today ist started on each resume.
131 */ 131 */
132void Today::autoStart() { 132void 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 */
153void Today::draw() { 153void Today::draw() {
154 init(); 154 init();
155 getDates(); 155 getDates();
156 getMail(); 156 getMail();
@@ -412,32 +412,32 @@ void Today::getTodo() {
412 output = tr("There is <b> 1</b> active task: <br>" ); 412 output = tr("There is <b> 1</b> active task: <br>" );
413 } else { 413 } else {
414 output = tr("There are <b> %1</b> active tasks: <br>").arg(count); 414 output = tr("There are <b> %1</b> active tasks: <br>").arg(count);
415 } 415 }
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 */
428void Today::editCard() { 427void 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 */
438void Today::startDatebook() { 438void Today::startDatebook() {
439 QCopEnvelope e("QPE/System", "execute(QString)"); 439 QCopEnvelope e("QPE/System", "execute(QString)");
440 e << QString("datebook"); 440 e << QString("datebook");
441} 441}
442 442
443/* 443/*