diff options
author | Darrell Anderson <[email protected]> | 2014-01-09 14:04:57 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2014-01-09 14:04:57 -0600 |
commit | 380e3401db2008b52dda34227debf5e15f3bd045 (patch) | |
tree | 526d8b5ab69ff02e41286ae2051a5cc5fc673254 /src/konqplugin/tork_plug_in.cpp | |
parent | fa266da73737453ca158c991157ed6fe718f89a9 (diff) | |
download | tork-380e3401db2008b52dda34227debf5e15f3bd045.tar.gz tork-380e3401db2008b52dda34227debf5e15f3bd045.zip |
Branding and code cleanup.
Diffstat (limited to 'src/konqplugin/tork_plug_in.cpp')
-rw-r--r-- | src/konqplugin/tork_plug_in.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/konqplugin/tork_plug_in.cpp b/src/konqplugin/tork_plug_in.cpp index 9d1f825..98dd755 100644 --- a/src/konqplugin/tork_plug_in.cpp +++ b/src/konqplugin/tork_plug_in.cpp @@ -69,13 +69,13 @@ Tork_plug_in::Tork_plug_in( TQObject* parent, const char* name ) menu->setDelayed( false ); connect( menu->popupMenu(), SIGNAL( aboutToShow() ), SLOT( showPopup() )); - m_paToggleKDE=new TDEAction(i18n("Anonymize KDE"), + m_paToggleTDE=new TDEAction(i18n("Anonymize TDE"), TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", TDEIcon::Small), TDEShortcut(), - this, SLOT(toggleKDE()), + this, SLOT(toggleTDE()), actionCollection(), "tork_konqueroron" ); - menu->insert( m_paToggleKDE ); + menu->insert( m_paToggleTDE ); TDEAction *m_firefox=new TDEAction(i18n("Re-Open Anonymously with Firefox"), @@ -111,17 +111,17 @@ void Tork_plug_in::showPopup() if (p_dcopServer->isApplicationRegistered ("tork")) { DCOPRef tork( "tork", "DCOPTork" ); - anonymized = tork.call( "getKDESetting" ); + anonymized = tork.call( "getTDESetting" ); } if (anonymized){ - m_paToggleKDE->setIconSet( TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", + m_paToggleTDE->setIconSet( TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", TDEIcon::Small) ); - m_paToggleKDE->setText( "De-Anonymize KDE" ); + m_paToggleTDE->setText( "De-Anonymize TDE" ); }else{ - m_paToggleKDE->setIconSet( TDEGlobal::iconLoader()->loadIconSet("tork_konqueroron", + m_paToggleTDE->setIconSet( TDEGlobal::iconLoader()->loadIconSet("tork_konqueroron", TDEIcon::Small) ); - m_paToggleKDE->setText( "Anonymize KDE" ); + m_paToggleTDE->setText( "Anonymize TDE" ); } } @@ -153,14 +153,14 @@ void Tork_plug_in::openWithBrowser(const TQString &browser) } -void Tork_plug_in::toggleKDE() +void Tork_plug_in::toggleTDE() { if (!p_dcopServer->isApplicationRegistered ("tork")) - KRun::runCommand("tork --toggleKDE"); + KRun::runCommand("tork --toggleTDE"); else { DCOPRef tork( "tork", "DCOPTork" ); - tork.send( "toggleKDESetting"); + tork.send( "toggleTDESetting"); } } |