summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-04-19 21:44:18 (UTC)
committer harlekin <harlekin>2002-04-19 21:44:18 (UTC)
commitf62cb71116d1aa16603fe6e87169e8b98125ce1f (patch) (unidiff)
tree6ffef9d90b7c86603e7fcbcc8304b21fcd9e5967
parent59aeb3bb66ad382201fe1e2cc3066564240d1cc1 (diff)
downloadopie-f62cb71116d1aa16603fe6e87169e8b98125ce1f.zip
opie-f62cb71116d1aa16603fe6e87169e8b98125ce1f.tar.gz
opie-f62cb71116d1aa16603fe6e87169e8b98125ce1f.tar.bz2
launch ALSO qtmail by clicking on mail icon
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 1cb4881..87a7970 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -431,49 +431,49 @@ extern QPEApplication *todayApp;
431 431
432void Today::editEvent(const Event &e) { 432void Today::editEvent(const Event &e) {
433 startDatebook(); 433 startDatebook();
434 434
435 while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents(); 435 while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents();
436 QCopEnvelope env("QPE/Datebook", "editEvent(int)"); 436 QCopEnvelope env("QPE/Datebook", "editEvent(int)");
437 env << e.uid(); 437 env << e.uid();
438} 438}
439 439
440/* 440/*
441 * launches todolist 441 * launches todolist
442 */ 442 */
443void Today::startTodo() { 443void Today::startTodo() {
444 QCopEnvelope e("QPE/System", "execute(QString)"); 444 QCopEnvelope e("QPE/System", "execute(QString)");
445 e << QString("todolist"); 445 e << QString("todolist");
446} 446}
447 447
448/* 448/*
449 * launch opiemail 449 * launch opiemail
450 */ 450 */
451void Today::startMail() { 451void Today::startMail() {
452 QCopEnvelope e("QPE/System", "execute(QString)"); 452 QCopEnvelope e("QPE/System", "execute(QString)");
453 e << QString("opiemail"); 453 e << QString("opiemail");
454//Right now start both, maybe decide which to rum via config file .. 454//Right now start both, maybe decide which to rum via config file ..
455 QCopEnvelope e("QPE/System", "execute(QString)"); 455 QCopEnvelope f("QPE/System", "execute(QString)");
456 e << QString("qtmail"); 456 e << QString("qtmail");
457} 457}
458 458
459 459
460Today::~Today() { 460Today::~Today() {
461} 461}
462 462
463/* 463/*
464 * Gets the events for the current day, if it should get all dates 464 * Gets the events for the current day, if it should get all dates
465 */ 465 */
466DateBookEvent::DateBookEvent(const EffectiveEvent &ev, 466DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
467 QWidget* parent = 0, 467 QWidget* parent = 0,
468 int SHOW_LOCATION = 0, 468 int SHOW_LOCATION = 0,
469 int SHOW_NOTES = 0, 469 int SHOW_NOTES = 0,
470 const char* name = 0, 470 const char* name = 0,
471 WFlags fl = 0) : 471 WFlags fl = 0) :
472 ClickableLabel(parent,name,fl), event(ev) { 472 ClickableLabel(parent,name,fl), event(ev) {
473 473
474 QString msg; 474 QString msg;
475 //QTime time = QTime::currentTime(); 475 //QTime time = QTime::currentTime();
476 476
477 Config config( "qpe" ); 477 Config config( "qpe" );
478 // if 24 h format 478 // if 24 h format
479 ampm = config.readBoolEntry( "AMPM", TRUE ); 479 ampm = config.readBoolEntry( "AMPM", TRUE );