summaryrefslogtreecommitdiffstats
path: root/src/newstuff/newscript.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/newstuff/newscript.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/newstuff/newscript.cpp')
-rw-r--r--src/newstuff/newscript.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newstuff/newscript.cpp b/src/newstuff/newscript.cpp
index 045f881..e942d06 100644
--- a/src/newstuff/newscript.cpp
+++ b/src/newstuff/newscript.cpp
@@ -16,15 +16,15 @@
#include <kurl.h>
-#include <qwidget.h>
+#include <tqwidget.h>
using Tellico::NewStuff::NewScript;
-NewScript::NewScript(Manager* manager_, QWidget* parentWidget_)
+NewScript::NewScript(Manager* manager_, TQWidget* tqparentWidget_)
#if KDE_IS_VERSION(3,3,90)
- : KNewStuffSecure(QString::fromLatin1("tellico/data-source"), parentWidget_)
+ : KNewStuffSecure(TQString::tqfromLatin1("tellico/data-source"), tqparentWidget_)
#else
- : QObject(parentWidget_)
+ : TQObject(tqparentWidget_)
#endif
, m_manager(manager_), m_success(false) {
}
@@ -41,7 +41,7 @@ void NewScript::installResource() {
#include <knewstuff/knewstuffsecure.h>
#define SUPERCLASS KNewStuffSecure
#else
-#define SUPERCLASS QObject
+#define SUPERCLASS TQObject
#endif
#include "newscript.moc"