summaryrefslogtreecommitdiffstats
path: root/src/torkapplet/tork_mnu.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2014-01-09 14:04:57 -0600
committerDarrell Anderson <[email protected]>2014-01-09 14:04:57 -0600
commit380e3401db2008b52dda34227debf5e15f3bd045 (patch)
tree526d8b5ab69ff02e41286ae2051a5cc5fc673254 /src/torkapplet/tork_mnu.cpp
parentfa266da73737453ca158c991157ed6fe718f89a9 (diff)
downloadtork-380e3401db2008b52dda34227debf5e15f3bd045.tar.gz
tork-380e3401db2008b52dda34227debf5e15f3bd045.zip
Branding and code cleanup.
Diffstat (limited to 'src/torkapplet/tork_mnu.cpp')
-rw-r--r--src/torkapplet/tork_mnu.cpp20
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;