summaryrefslogtreecommitdiffstats
path: root/src/bookreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookreader.cpp')
-rw-r--r--src/bookreader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookreader.cpp b/src/bookreader.cpp
index 2b45219..e436676 100644
--- a/src/bookreader.cpp
+++ b/src/bookreader.cpp
@@ -46,7 +46,7 @@
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqpixmap.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqsignalmapper.h>
#include <assert.h>
#include "bookreader.h"
@@ -304,7 +304,7 @@ void BookReader::optionsPreferences()
TQString curEncoding(encodings[Settings::defaultEncoding()]);
if (curEncoding.isEmpty())
- curEncoding = TQString::fromLatin1(KGlobal::locale()->encoding());
+ curEncoding = TQString::tqfromLatin1(KGlobal::locale()->encoding());
general->kcfg_DefaultEncoding->clear();
general->kcfg_DefaultEncoding->insertStringList(encodings);
@@ -405,7 +405,7 @@ void BookReader::loadLastUrl()
void BookReader::loaded(int loaded)
{
//m_loaded = loaded;
- m_splash->message(tqtr("Loading: %1 - %2%").arg(lastURL.fileName()).arg(loaded));
+ m_splash->message(tqtr("Loading: %1 - %2%").tqarg(lastURL.fileName()).tqarg(loaded));
}
void BookReader::gotoFirstPage()