summaryrefslogtreecommitdiffstats
path: root/src/bookreader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:01 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:01 -0600
commit2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b (patch)
tree8b66104e451843ea8b711010033ccfb0e2225754 /src/bookreader.cpp
parente0dc67e60c2050d70a7a15c6e5f84ea651294d7c (diff)
downloadkbookreader-2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b.tar.gz
kbookreader-2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e0dc67e60c2050d70a7a15c6e5f84ea651294d7c.
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()