summaryrefslogtreecommitdiffstats
path: root/plugins/webinterface/php_handler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/webinterface/php_handler.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/webinterface/php_handler.h')
-rw-r--r--plugins/webinterface/php_handler.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/webinterface/php_handler.h b/plugins/webinterface/php_handler.h
index b9bfcb6..197bdb7 100644
--- a/plugins/webinterface/php_handler.h
+++ b/plugins/webinterface/php_handler.h
@@ -20,24 +20,25 @@
#ifndef PHP_HANDLER_H
#define PHP_HANDLER_H
-#include <qmap.h>
+#include <tqmap.h>
#include <kurl.h>
-#include <qprocess.h>
+#include <tqprocess.h>
namespace kt
{
class PhpInterface;
- class PhpHandler : public QProcess
+ class PhpHandler : public TQProcess
{
Q_OBJECT
+ TQ_OBJECT
public:
- PhpHandler(const QString & php_exe,PhpInterface *php);
+ PhpHandler(const TQString & php_exe,PhpInterface *php);
virtual ~PhpHandler();
- bool executeScript(const QString & path,const QMap<QString,QString> & args);
- const QByteArray & getOutput() const {return output;};
+ bool executeScript(const TQString & path,const TQMap<TQString,TQString> & args);
+ const TQByteArray & getOutput() const {return output;};
public slots:
void onExited();
@@ -47,10 +48,10 @@ namespace kt
void finished();
private:
- QByteArray output;
+ TQByteArray output;
PhpInterface *php_i;
- static QMap<QString,QByteArray> scripts;
+ static TQMap<TQString,TQByteArray> scripts;
};
}