summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include/utils.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/src/include/utils.h
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz
tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip
TQt4 port kradio
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/src/include/utils.h')
-rw-r--r--kradio3/src/include/utils.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kradio3/src/include/utils.h b/kradio3/src/include/utils.h
index 4e93293..037a2e3 100644
--- a/kradio3/src/include/utils.h
+++ b/kradio3/src/include/utils.h
@@ -27,19 +27,19 @@ using namespace std;
#include <kconfig.h>
#include <klocale.h>
#include <kdebug.h>
-#include <qstring.h>
+#include <tqstring.h>
#define __USE_ISOC99 1
#include <math.h>
//extern const char *mixerChannelLabels[];
//extern const char *mixerChannelNames[];
-extern QString XMLEscape (const QString &s);
-QString xmlOpenTag (const QString &tag, bool newline = true);
-QString xmlTag (const QString &tag, const QString &s, bool newline = true);
-QString xmlTag (const QString &tag, int i, bool newline = true);
-QString xmlTag (const QString &tag, float f, bool newline = true);
-QString xmlCloseTag (const QString &tag, bool newline = true);
+extern TQString XMLEscape (const TQString &s);
+TQString xmlOpenTag (const TQString &tag, bool newline = true);
+TQString xmlTag (const TQString &tag, const TQString &s, bool newline = true);
+TQString xmlTag (const TQString &tag, int i, bool newline = true);
+TQString xmlTag (const TQString &tag, float f, bool newline = true);
+TQString xmlCloseTag (const TQString &tag, bool newline = true);
template<class T1, class T2> inline T1 min (T1 a, T2 b) { return a < b ? a : b; }
template<class T1, class T2> inline T1 max (T1 a, T2 b) { return a < b ? b : a; }