summaryrefslogtreecommitdiffstats
path: root/src/newstuff/newscript.h
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.h
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.h')
-rw-r--r--src/newstuff/newscript.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/newstuff/newscript.h b/src/newstuff/newscript.h
index 8bc3154..9fd694e 100644
--- a/src/newstuff/newscript.h
+++ b/src/newstuff/newscript.h
@@ -21,10 +21,10 @@
#include <knewstuff/knewstuffsecure.h>
#define SUPERCLASS KNewStuffSecure
#else
-#define SUPERCLASS QObject
+#define SUPERCLASS TQObject
#endif
-#include <qobject.h>
+#include <tqobject.h>
namespace Tellico {
namespace NewStuff {
@@ -33,9 +33,10 @@ class Manager;
class NewScript : public SUPERCLASS {
Q_OBJECT
+ TQ_OBJECT
public:
- NewScript(Manager* manager, QWidget* parentWidget = 0);
+ NewScript(Manager* manager, TQWidget* tqparentWidget = 0);
virtual ~NewScript() {}
const KURL& url() const { return m_url; }
@@ -47,7 +48,7 @@ private:
Manager* m_manager;
#if !KDE_IS_VERSION(3,3,90)
// KNewStuffSecure has a protected variable
- QString m_tarName;
+ TQString m_tarName;
#endif
KURL m_url;
bool m_success : 1;