From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: 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 --- src/kvilib/ext/kvi_stringconversion.h | 78 +++++++++++++++++------------------ 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'src/kvilib/ext/kvi_stringconversion.h') 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 -#include -#include -#include -#include +#include +#include +#include +#include +#include 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_ -- cgit v1.2.1