From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- xparts/mozilla/kmozillapart.cpp | 6 +++--- xparts/mozilla/kmozillapart.h | 6 +++--- xparts/mozilla/kshell.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xparts/mozilla') diff --git a/xparts/mozilla/kmozillapart.cpp b/xparts/mozilla/kmozillapart.cpp index 8eba1441..3297692d 100644 --- a/xparts/mozilla/kmozillapart.cpp +++ b/xparts/mozilla/kmozillapart.cpp @@ -15,8 +15,8 @@ typedef KParts::GenericFactory KMozillaPartFactory; K_EXPORT_COMPONENT_FACTORY( libkmozillapart, KMozillaPartFactory ); -KMozillaPart::KMozillaPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name, const TQStringList &) +KMozillaPart::KMozillaPart(TTQWidget *parentWidget, const char *widgetName, + TTQObject *parent, const char *name, const TTQStringList &) : XPartHost_KPart(parentWidget, widgetName, parent, name) { setInstance( KMozillaPartFactory::instance() ); @@ -36,7 +36,7 @@ KMozillaPart::~KMozillaPart() delete m_partProcess; } -void KMozillaPart::createActions( const TQCString &xmlActions ) +void KMozillaPart::createActions( const TTQCString &xmlActions ) { XPartHost_KPart::createActions( xmlActions ); qDebug("----<<<<<< exit loop"); diff --git a/xparts/mozilla/kmozillapart.h b/xparts/mozilla/kmozillapart.h index a312d894..2455f5eb 100644 --- a/xparts/mozilla/kmozillapart.h +++ b/xparts/mozilla/kmozillapart.h @@ -11,11 +11,11 @@ class KMozillaPart : public XPartHost_KPart Q_OBJECT public: - KMozillaPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name, const TQStringList &); + KMozillaPart(TTQWidget *parentWidget, const char *widgetName, + TTQObject *parent, const char *name, const TTQStringList &); virtual ~KMozillaPart(); - virtual void createActions( const TQCString &xmlActions ); + virtual void createActions( const TTQCString &xmlActions ); static KAboutData *createAboutData(); diff --git a/xparts/mozilla/kshell.cpp b/xparts/mozilla/kshell.cpp index e3f87279..8277b02c 100644 --- a/xparts/mozilla/kshell.cpp +++ b/xparts/mozilla/kshell.cpp @@ -34,7 +34,7 @@ public: KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() ); KSelectAction *s = new KSelectAction( "http://www.kde.org" , 0, actionCollection(), "location" ); - connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) ); + connect( s, TQT_SIGNAL(activated( const TTQString& ) ), this, TQT_SLOT( slotOpenUrl( const TTQString & ) ) ); s->setEditable(true); } virtual ~ShellWindow() @@ -42,7 +42,7 @@ public: delete m_partProcess; } public slots: - void slotOpenUrl( const TQString &url ) + void slotOpenUrl( const TTQString &url ) { kdDebug() << "this=" << this; kdDebug() << "url=" << url << endl; -- cgit v1.2.1