summaryrefslogtreecommitdiffstats
path: root/src/bookwidget.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/bookwidget.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/bookwidget.cpp')
-rw-r--r--src/bookwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookwidget.cpp b/src/bookwidget.cpp
index 6cbdf10..d1a2d62 100644
--- a/src/bookwidget.cpp
+++ b/src/bookwidget.cpp
@@ -22,8 +22,8 @@
#include <kdebug.h>
#include <kprogress.h>
#include <tqfile.h>
-#include <tqtextstream.h>
-#include <tqtextcodec.h>
+#include <textstream.h>
+#include <textcodec.h>
#include <tqstring.h>
#include <kglobal.h>
#include <kstandarddirs.h>
@@ -296,7 +296,7 @@ void BookWidget::resizeEvent(TQResizeEvent * e)
TQWidget::resizeEvent(e);
}
-TQSize BookWidget::tqminimumSizeHint() const
+TQSize BookWidget::minimumSizeHint() const
{
return TQSize(400, 300);
}
@@ -429,7 +429,7 @@ void BookWidget::saveBookmarks( )
for (Bookmarks::size_type i = 0; i < m_bookmarks.size(); ++i)
{
const Bookmark & bm = m_bookmarks[i];
- config.setGroup(tqtr("Bookmark %1").tqarg(i));
+ config.setGroup(tqtr("Bookmark %1").arg(i));
config.writeEntry("page", bm.page());
config.writeEntry("name", bm.name());
config.writeEntry("dateTime", bm.dateTime());