From 380e3401db2008b52dda34227debf5e15f3bd045 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 9 Jan 2014 14:04:57 -0600 Subject: Branding and code cleanup. --- src/konqplugin/tork_plug_in.cpp | 22 +++++++++++----------- src/konqplugin/tork_plug_in.h | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/konqplugin') 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"); } } diff --git a/src/konqplugin/tork_plug_in.h b/src/konqplugin/tork_plug_in.h index 93d2069..115bd94 100644 --- a/src/konqplugin/tork_plug_in.h +++ b/src/konqplugin/tork_plug_in.h @@ -50,12 +50,12 @@ class Tork_plug_in : public KParts::Plugin Q_OBJECT public: Tork_plug_in( TQObject* parent = 0, const char* name = 0 ); - TDEAction *m_paToggleKDE ; + TDEAction *m_paToggleTDE ; DCOPClient* p_dcopServer; virtual ~Tork_plug_in(); private slots: - void toggleKDE(); + void toggleTDE(); void openWithBrowser(const TQString&); void openWithFirefox(); void openWithOpera(); -- cgit v1.2.1