diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
commit | 0a80cfd57d271dd44221467efb426675fa470356 (patch) | |
tree | 6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/objects/class_file.h | |
parent | 3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff) | |
download | kvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip |
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/objects/class_file.h')
-rw-r--r-- | src/modules/objects/class_file.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/objects/class_file.h b/src/modules/objects/class_file.h index 01a54d19..aa99bb69 100644 --- a/src/modules/objects/class_file.h +++ b/src/modules/objects/class_file.h @@ -24,8 +24,8 @@ -#include <qfile.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqtextstream.h> #include "kvi_string.h" @@ -36,6 +36,7 @@ class KviParameterList; class KviScriptFileObject : public KviScriptObject { Q_OBJECT + TQ_OBJECT public: KviScriptFileObject(KviScriptObjectClass *, KviScriptObject *, const char *); virtual ~KviScriptFileObject(); @@ -53,9 +54,9 @@ protected: bool functionSize(KviCommand *, KviParameterList *, KviStr &); bool functionAtEnd(KviCommand *, KviParameterList *, KviStr &); - // int QFile at() const + // int TQFile at() const bool functionWhere(KviCommand *, KviParameterList *, KviStr &); - // void QFile at(int) + // void TQFile at(int) bool functionSeek(KviCommand *, KviParameterList *, KviStr &); bool functionPutch(KviCommand *, KviParameterList *, KviStr &); bool functionGetch(KviCommand *, KviParameterList *, KviStr &); @@ -70,7 +71,7 @@ protected: bool functionHexRead(KviCommand *, KviParameterList *, KviStr &); protected: - QFile * m_pFile; + TQFile * m_pFile; }; */ @@ -91,9 +92,9 @@ protected: bool functionsize(KviKvsObjectFunctionCall *c); bool functionatEnd(KviKvsObjectFunctionCall *c); - // int QFile at() const + // int TQFile at() const bool functionwhere(KviKvsObjectFunctionCall *c); - // void QFile at(int) + // void TQFile at(int) bool functionseek(KviKvsObjectFunctionCall *c); bool functionputch(KviKvsObjectFunctionCall *c); bool functiongetch(KviKvsObjectFunctionCall *c); @@ -108,6 +109,6 @@ protected: bool functionHexRead(KviKvsObjectFunctionCall *c); */ protected: - QFile * m_pFile; + TQFile * m_pFile; }; #endif // !_CLASS_FILE_H_ |