summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_stringconversion.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/kvilib/ext/kvi_stringconversion.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-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/kvilib/ext/kvi_stringconversion.h')
-rw-r--r--src/kvilib/ext/kvi_stringconversion.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/src/kvilib/ext/kvi_stringconversion.h b/src/kvilib/ext/kvi_stringconversion.h
index 78f8d417..0412a0e4 100644
--- a/src/kvilib/ext/kvi_stringconversion.h
+++ b/src/kvilib/ext/kvi_stringconversion.h
@@ -30,62 +30,62 @@
#include "kvi_pixmap.h"
#include "kvi_msgtype.h"
-#include <qrect.h>
-#include <qcolor.h>
-#include <qfont.h>
-#include <qstringlist.h>
-#include <qstring.h>
+#include <tqrect.h>
+#include <tqcolor.h>
+#include <tqfont.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
namespace KviStringConversion
{
- extern KVILIB_API void init(const QString& szGlobalDir,const QString& szLocalDir);
+ extern KVILIB_API void init(const TQString& szGlobalDir,const TQString& szLocalDir);
- extern KVILIB_API void encodePath(QString& buffer);
- extern KVILIB_API void decodePath(QString& buffer);
+ extern KVILIB_API void encodePath(TQString& buffer);
+ extern KVILIB_API void decodePath(TQString& buffer);
- extern KVILIB_API void encodePath(QStringList& buffer);
- extern KVILIB_API void decodePath(QStringList& buffer);
+ extern KVILIB_API void encodePath(TQStringList& buffer);
+ extern KVILIB_API void decodePath(TQStringList& buffer);
// bool <->
- extern KVILIB_API void toString(const bool bValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,bool &buffer);
+ extern KVILIB_API void toString(const bool bValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,bool &buffer);
- // int <-> QString
- extern KVILIB_API void toString(const int iValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,int &buffer);
+ // int <-> TQString
+ extern KVILIB_API void toString(const int iValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,int &buffer);
- // uint <-> QString
- extern KVILIB_API void toString(const unsigned int uValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,unsigned int &buffer);
+ // uint <-> TQString
+ extern KVILIB_API void toString(const unsigned int uValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,unsigned int &buffer);
- // QRect <-> QString
- extern KVILIB_API void toString(const QRect &rValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,QRect &buffer);
+ // TQRect <-> TQString
+ extern KVILIB_API void toString(const TQRect &rValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,TQRect &buffer);
- // QString <-> QString (Null conversion)
- extern KVILIB_API void toString(const QString &szValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,QString &buffer);
+ // TQString <-> TQString (Null conversion)
+ extern KVILIB_API void toString(const TQString &szValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,TQString &buffer);
- // KviPixmap <-> QString
- extern KVILIB_API void toString(const KviPixmap &pValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,KviPixmap &buffer);
+ // KviPixmap <-> TQString
+ extern KVILIB_API void toString(const KviPixmap &pValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,KviPixmap &buffer);
- // QFont <-> QString
- extern KVILIB_API void toString(const QFont &fValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,QFont &buffer);
+ // TQFont <-> TQString
+ extern KVILIB_API void toString(const TQFont &fValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,TQFont &buffer);
- // KviMsgType <-> QString
- extern KVILIB_API void toString(const KviMsgType &mValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,KviMsgType &buffer);
+ // KviMsgType <-> TQString
+ extern KVILIB_API void toString(const KviMsgType &mValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,KviMsgType &buffer);
- // QColor <-> QString
- extern KVILIB_API void toString(const QColor &cValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,QColor &buffer);
+ // TQColor <-> TQString
+ extern KVILIB_API void toString(const TQColor &cValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,TQColor &buffer);
- // QStringList <-> QString
- extern KVILIB_API void toString(const QStringList &sValue,QString &buffer);
- extern KVILIB_API bool fromString(const QString &szValue,QStringList &buffer);
+ // TQStringList <-> TQString
+ extern KVILIB_API void toString(const TQStringList &sValue,TQString &buffer);
+ extern KVILIB_API bool fromString(const TQString &szValue,TQStringList &buffer);
};
#endif //!_KVI_STRINGCONVERSION_H_