summaryrefslogtreecommitdiffstats
path: root/src/k3bdebuggingoutputfile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/k3bdebuggingoutputfile.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k3bdebuggingoutputfile.h')
-rw-r--r--src/k3bdebuggingoutputfile.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/k3bdebuggingoutputfile.h b/src/k3bdebuggingoutputfile.h
index c0af0e5..df9b0a7 100644
--- a/src/k3bdebuggingoutputfile.h
+++ b/src/k3bdebuggingoutputfile.h
@@ -16,12 +16,25 @@
#ifndef _K3B_DEBUGGING_OUTPUT_FILE_H_
#define _K3B_DEBUGGING_OUTPUT_FILE_H_
-#include <qfile.h>
-#include <qobject.h>
-
-class K3bDebuggingOutputFile : public QObject, public QFile
+#include <tqfile.h>
+#include <tqobject.h>
+
+#ifdef Q_MOC_RUN
+#define USE_QT4
+#endif // Q_MOC_RUN
+
+// MOC_SKIP_BEGIN
+#ifdef USE_QT4
+class K3bDebuggingOutputFile : public TQFile
+#else // USE_QT4
+// MOC_SKIP_END
+class K3bDebuggingOutputFile : public TQObject, public TQFile
+// MOC_SKIP_BEGIN
+#endif // USE_QT4
+// MOC_SKIP_END
{
Q_OBJECT
+ TQ_OBJECT
public:
K3bDebuggingOutputFile();
@@ -32,7 +45,7 @@ class K3bDebuggingOutputFile : public QObject, public QFile
bool open();
public slots:
- void addOutput( const QString&, const QString& );
+ void addOutput( const TQString&, const TQString& );
};