summaryrefslogtreecommitdiff
path: root/core
Unidiff
Diffstat (limited to 'core') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/desktop.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp
index 1ec477c..5aba8dd 100644
--- a/core/launcher/desktop.cpp
+++ b/core/launcher/desktop.cpp
@@ -504,12 +504,12 @@ void Desktop::raiseDatebook()
504 cfg.setGroup("AppsKey"); 504 cfg.setGroup("AppsKey");
505 QString tempItem; 505 QString tempItem;
506 tempItem = cfg.readEntry("LeftEnd","Calender"); 506 tempItem = cfg.readEntry("LeftEnd","Calender");
507 if(tempItem == "Calender" || tempItem.isEmpty()) executeOrModify("Applications/datebook.desktop"); 507 if ( tempItem == "Calender" || tempItem.isEmpty() ) {
508 else { 508 tempItem = "datebook";
509 }
509 QCopEnvelope e("QPE/System","execute(QString)"); 510 QCopEnvelope e("QPE/System","execute(QString)");
510 e << tempItem; 511 e << tempItem;
511 } 512 }
512}
513 513
514void Desktop::raiseContacts() 514void Desktop::raiseContacts()
515{ 515{
@@ -517,16 +517,16 @@ void Desktop::raiseContacts()
517 cfg.setGroup("AppsKey"); 517 cfg.setGroup("AppsKey");
518 QString tempItem; 518 QString tempItem;
519 tempItem = cfg.readEntry("Left2nd","Address Book"); 519 tempItem = cfg.readEntry("Left2nd","Address Book");
520 if(tempItem == "Address Book" || tempItem.isEmpty()) executeOrModify("Applications/addressbook.desktop"); 520 if ( tempItem == "Address Book" || tempItem.isEmpty() ) {
521 else { 521 tempItem = "addressbook";
522 }
522 QCopEnvelope e("QPE/System","execute(QString)"); 523 QCopEnvelope e("QPE/System","execute(QString)");
523 e << tempItem; 524 e << tempItem;
524 } 525 }
525}
526 526
527void Desktop::raiseMenu() 527void Desktop::raiseMenu()
528{ 528{
529 Config cfg("qpe"); //F11, 'Menu' 529 Config cfg( "qpe" ); //F11, 'Menu
530 cfg.setGroup("AppsKey"); 530 cfg.setGroup("AppsKey");
531 QString tempItem; 531 QString tempItem;
532 tempItem = cfg.readEntry("Right2nd","Popup Menu"); 532 tempItem = cfg.readEntry("Right2nd","Popup Menu");
@@ -545,12 +545,12 @@ void Desktop::raiseEmail()
545 cfg.setGroup("AppsKey"); 545 cfg.setGroup("AppsKey");
546 QString tempItem; 546 QString tempItem;
547 tempItem = cfg.readEntry("RightEnd","Mail"); 547 tempItem = cfg.readEntry("RightEnd","Mail");
548 if(tempItem == "Mail" || tempItem == "qtmail" || tempItem.isEmpty()) executeOrModify("Applications/qtmail.desktop"); 548 if ( tempItem == "Mail" || tempItem == "qtmail" || tempItem.isEmpty() ) {
549 else { 549 tempItem = "mail";
550 }
550 QCopEnvelope e("QPE/System","execute(QString)"); 551 QCopEnvelope e("QPE/System","execute(QString)");
551 e << tempItem; 552 e << tempItem;
552 } 553 }
553}
554 554
555// autoStarts apps on resume and start 555// autoStarts apps on resume and start
556void Desktop::execAutoStart() { 556void Desktop::execAutoStart() {