summaryrefslogtreecommitdiffstats
path: root/src/bookreader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:10 -0600
commite0dc67e60c2050d70a7a15c6e5f84ea651294d7c (patch)
tree86bcc6b2e6ef65ed9e8fac74f3cbc550a6314c8b /src/bookreader.cpp
parent4188d93e25a22322da12e0e0c36d7a6a98fa0e46 (diff)
downloadkbookreader-e0dc67e60c2050d70a7a15c6e5f84ea651294d7c.tar.gz
kbookreader-e0dc67e60c2050d70a7a15c6e5f84ea651294d7c.zip
Rename a number of old tq methods that are no longer tq specific
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 e436676..2b45219 100644
--- a/src/bookreader.cpp
+++ b/src/bookreader.cpp
@@ -46,7 +46,7 @@
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqpixmap.h>
-#include <tqtextcodec.h>
+#include <textcodec.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::tqfromLatin1(KGlobal::locale()->encoding());
+ curEncoding = TQString::fromLatin1(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%").tqarg(lastURL.fileName()).tqarg(loaded));
+ m_splash->message(tqtr("Loading: %1 - %2%").arg(lastURL.fileName()).arg(loaded));
}
void BookReader::gotoFirstPage()