summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/break_lines.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/rendering/break_lines.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/break_lines.cpp')
-rw-r--r--khtml/rendering/break_lines.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/khtml/rendering/break_lines.cpp b/khtml/rendering/break_lines.cpp
index 483455127..a0d314cee 100644
--- a/khtml/rendering/break_lines.cpp
+++ b/khtml/rendering/break_lines.cpp
@@ -1,8 +1,8 @@
#include <break_lines.h>
#include <klibloader.h>
-#include "qcstring.h"
-#include <qtextcodec.h>
-#include <qcleanuphandler.h>
+#include "tqcstring.h"
+#include <tqtextcodec.h>
+#include <tqcleanuphandler.h>
#include <config.h>
@@ -38,7 +38,7 @@ namespace khtml {
free(isbreakable);
if (library) library->unload();
}
- const QChar *string;
+ const TQChar *string;
int *wbrpos;
int *isbreakable;
int allocated;
@@ -56,9 +56,9 @@ namespace khtml {
#endif
}
- bool isBreakableThai( const QChar *string, const int pos, const int len)
+ bool isBreakableThai( const TQChar *string, const int pos, const int len)
{
- static QTextCodec *thaiCodec = QTextCodec::codecForMib(2259);
+ static TQTextCodec *thaiCodec = TQTextCodec::codecForMib(2259);
//printf("Entering isBreakableThai with pos = %d\n", pos);
#ifndef HAVE_LIBTHAI
@@ -96,7 +96,7 @@ namespace khtml {
// build up string of thai chars
if ( string != cache->string ) {
//fprintf(stderr,"new string found (not in cache), calling libthai\n");
- QCString cstr = thaiCodec->fromUnicode( QConstString(string,len).string());
+ TQCString cstr = thaiCodec->fromUnicode( TQConstString(string,len).string());
//printf("About to call libthai::th_brk with str: %s",cstr.data());
cache->numwbrpos = th_brk((const unsigned char*) cstr.data(), cache->wbrpos, cache->allocated);