diff options
Diffstat (limited to 'src/torkapplet/tork_mnu.cpp')
-rw-r--r-- | src/torkapplet/tork_mnu.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/torkapplet/tork_mnu.cpp b/src/torkapplet/tork_mnu.cpp index 29e96b0..fc5a45d 100644 --- a/src/torkapplet/tork_mnu.cpp +++ b/src/torkapplet/tork_mnu.cpp @@ -114,7 +114,7 @@ void TorkMenu::initialize() insertSeparator(); - insertItem( SmallIcon("tork_konqueroron"), i18n( "Anonymize KDE" ), 9,9 ); + insertItem( SmallIcon("tork_konqueroron"), i18n( "Anonymize TDE" ), 9,9 ); connect( this, SIGNAL( aboutToShow() ), SLOT( showPopup() )); @@ -128,13 +128,13 @@ void TorkMenu::showPopup() if (p_dcopServer->isApplicationRegistered ("tork")) { DCOPRef tork( "tork", "DCOPTork" ); - anonymized = tork.call( "getKDESetting" ); + anonymized = tork.call( "getTDESetting" ); } if (anonymized) - changeItem(9, SmallIcon("tork_konqueroroff"), i18n( "De-Anonymize KDE" )); + changeItem(9, SmallIcon("tork_konqueroroff"), i18n( "De-Anonymize TDE" )); else - changeItem(9, SmallIcon("tork_konqueroron"), i18n( "Anonymize KDE" )); + changeItem(9, SmallIcon("tork_konqueroron"), i18n( "Anonymize TDE" )); } @@ -150,7 +150,7 @@ void TorkMenu::slotExec(int id) switch(id) { case 9: - anonymizeKDE(); break; + anonymizeTDE(); break; default: anonymousApp(id);break; } @@ -172,18 +172,18 @@ void TorkMenu::anonymousApp(int id) } -void TorkMenu::anonymizeKDE() +void TorkMenu::anonymizeTDE() { if (m_torkrunning){ DCOPRef("tork*", "DCOPTork").send("startEverything"); - DCOPRef("tork*", "DCOPTork").send("toggleKDESetting"); + DCOPRef("tork*", "DCOPTork").send("toggleTDESetting"); }else - KRun::runCommand( "tork --toggleKDE", "tork", "tork" ); + KRun::runCommand( "tork --toggleTDE", "tork", "tork" ); // if (m_kdestate) -// changeItem(9, SmallIcon("tork_konqueroroff"), i18n( "De-Anonymize KDE" )); +// changeItem(9, SmallIcon("tork_konqueroroff"), i18n( "De-Anonymize TDE" )); // else -// changeItem(9, SmallIcon("tork_konqueroron"), i18n( "Anonymize KDE" )); +// changeItem(9, SmallIcon("tork_konqueroron"), i18n( "Anonymize TDE" )); // // m_kdestate = !m_kdestate; |