summaryrefslogtreecommitdiffstats
path: root/src/konqplugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/konqplugin')
-rw-r--r--src/konqplugin/tork_plug_in.cpp20
-rw-r--r--src/konqplugin/tork_plug_in.h12
2 files changed, 16 insertions, 16 deletions
diff --git a/src/konqplugin/tork_plug_in.cpp b/src/konqplugin/tork_plug_in.cpp
index cee0681..5064279 100644
--- a/src/konqplugin/tork_plug_in.cpp
+++ b/src/konqplugin/tork_plug_in.cpp
@@ -59,10 +59,10 @@
#include <set>
-Tork_plug_in::Tork_plug_in( QObject* parent, const char* name )
+Tork_plug_in::Tork_plug_in( TQObject* parent, const char* name )
: Plugin( parent, name )
{
- QPixmap pix = KGlobal::iconLoader()->loadIcon("tork",
+ TQPixmap pix = KGlobal::iconLoader()->loadIcon("tork",
KIcon::MainToolbar);
KActionMenu *menu = new KActionMenu( i18n("Anonymity Manager"), pix,
actionCollection(), "tork_menu" );
@@ -139,17 +139,17 @@ void Tork_plug_in::openWithOpera()
}
-void Tork_plug_in::openWithBrowser(const QString &browser)
+void Tork_plug_in::openWithBrowser(const TQString &browser)
{
KHTMLPart *htmlPart = static_cast<KHTMLPart*>( parent() );
- QString url = htmlPart->toplevelURL().url();
+ TQString url = htmlPart->toplevelURL().url();
if (p_dcopServer->isApplicationRegistered ("tork")){
- QString function = QString("anonymized%1").arg(browser);
+ TQString function = TQString("anonymized%1").arg(browser);
DCOPRef("tork", "DCOPTork").send("startEverything");
- DCOPRef("tork", "DCOPTork").send(QCString(function),url);
+ DCOPRef("tork", "DCOPTork").send(TQCString(function),url);
}else
- KRun::runCommand( QString("tork --anonymous%1 %2").arg(browser).arg(url), "tork", "tork" );
+ KRun::runCommand( TQString("tork --anonymous%1 %2").arg(browser).arg(url), "tork", "tork" );
}
@@ -165,15 +165,15 @@ void Tork_plug_in::toggleKDE()
}
-KPluginFactory::KPluginFactory( QObject* parent, const char* name )
+KPluginFactory::KPluginFactory( TQObject* parent, const char* name )
: KLibFactory( parent, name )
{
s_instance = new KInstance("KPluginFactory");
}
-QObject* KPluginFactory::createObject( QObject* parent, const char* name, const char*, const QStringList & )
+TQObject* KPluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & )
{
- QObject *obj = new Tork_plug_in( parent, name );
+ TQObject *obj = new Tork_plug_in( parent, name );
return obj;
}
diff --git a/src/konqplugin/tork_plug_in.h b/src/konqplugin/tork_plug_in.h
index 4df506c..63b9216 100644
--- a/src/konqplugin/tork_plug_in.h
+++ b/src/konqplugin/tork_plug_in.h
@@ -49,14 +49,14 @@ class Tork_plug_in : public KParts::Plugin
{
Q_OBJECT
public:
- Tork_plug_in( QObject* parent = 0, const char* name = 0 );
+ Tork_plug_in( TQObject* parent = 0, const char* name = 0 );
KAction *m_paToggleKDE ;
DCOPClient* p_dcopServer;
virtual ~Tork_plug_in();
private slots:
void toggleKDE();
- void openWithBrowser(const QString&);
+ void openWithBrowser(const TQString&);
void openWithFirefox();
void openWithOpera();
void showPopup();
@@ -67,12 +67,12 @@ class KPluginFactory : public KLibFactory
{
Q_OBJECT
public:
- KPluginFactory( QObject *parent = 0, const char *name = 0 );
+ KPluginFactory( TQObject *parent = 0, const char *name = 0 );
~KPluginFactory() ;
- virtual QObject* createObject( QObject* parent = 0, const char* pname = 0,
- const char* name = "QObject",
- const QStringList &args = QStringList() );
+ virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0,
+ const char* name = "TQObject",
+ const TQStringList &args = TQStringList() );
private:
static KInstance* s_instance;