summaryrefslogtreecommitdiffstats
path: root/libk3b/tools/k3bstringutils.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/tools/k3bstringutils.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/tools/k3bstringutils.h')
-rw-r--r--libk3b/tools/k3bstringutils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libk3b/tools/k3bstringutils.h b/libk3b/tools/k3bstringutils.h
index 05cfd32..94c8f6f 100644
--- a/libk3b/tools/k3bstringutils.h
+++ b/libk3b/tools/k3bstringutils.h
@@ -17,9 +17,9 @@
#ifndef _K3B_STRING_UTILS_H_
#define _K3B_STRING_UTILS_H_
-#include <qstring.h>
+#include <tqstring.h>
-class QFontMetrics;
+class TQFontMetrics;
namespace K3b
{
@@ -27,13 +27,13 @@ namespace K3b
* Cuts the text at the end.
* Example: "some long text" -> "some lo..."
*/
- QString cutToWidth( const QFontMetrics&, const QString&, int );
+ TQString cutToWidth( const TQFontMetrics&, const TQString&, int );
/**
* squeezes the text.
* Example: "some long text" -> "some...ext"
*/
- QString squeezeTextToWidth( const QFontMetrics& fm, const QString& fullText, int cutWidth );
+ TQString squeezeTextToWidth( const TQFontMetrics& fm, const TQString& fullText, int cutWidth );
}
#endif