From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: 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 --- src/newstuff/newscript.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/newstuff/newscript.cpp') 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 -#include +#include 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 #define SUPERCLASS KNewStuffSecure #else -#define SUPERCLASS QObject +#define SUPERCLASS TQObject #endif #include "newscript.moc" -- cgit v1.2.1