summaryrefslogtreecommitdiffstats
path: root/src/bookreader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:48 -0600
commit8d2687a8b69810abe76d803eab55c0c9eac900c6 (patch)
treea828437dba243853c2e66303754e4e760d2decd1 /src/bookreader.cpp
parent891a52019abc825e2692f064450364294a8aa4b3 (diff)
downloadkbookreader-8d2687a8b69810abe76d803eab55c0c9eac900c6.tar.gz
kbookreader-8d2687a8b69810abe76d803eab55c0c9eac900c6.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/bookreader.cpp')
-rw-r--r--src/bookreader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookreader.cpp b/src/bookreader.cpp
index 3920ef4..8d30cf7 100644
--- a/src/bookreader.cpp
+++ b/src/bookreader.cpp
@@ -72,7 +72,7 @@ TQStringList listEncodings()
BookReader::BookReader()
- : KMainWindow(0, "BookReader"),
+ : TDEMainWindow(0, "BookReader"),
m_view(new BookWidget(this)),
m_fullScreenAction(0),
m_splash(0),
@@ -86,7 +86,7 @@ BookReader::BookReader()
// accept dnd
setAcceptDrops(true);
- // tell the KMainWindow that this is indeed the main widget
+ // tell the TDEMainWindow that this is indeed the main widget
setCentralWidget(m_view);
// then, setup our actions
@@ -171,7 +171,7 @@ void BookReader::setupActions()
// this doesn't do anything useful. it's just here to illustrate
// how to insert a custom menu and menu item
/*
- KAction *custom = new KAction( i18n( "Cus&tom Menuitem" ), 0,
+ TDEAction *custom = new TDEAction( i18n( "Cus&tom Menuitem" ), 0,
TQT_TQOBJECT(this), TQT_SLOT( optionsPreferences() ),
actionCollection(), "custom_action" );*/
}
@@ -470,7 +470,7 @@ void BookReader::updateBookmarks()
for (Bookmarks::size_type i = 0; i < 9 && i < bms.size(); ++i)
{
const Bookmark & bm = bms[i];
- KAction * action = new KAction(bm.name(), ALT+Key_1 + i);
+ TDEAction * action = new TDEAction(bm.name(), ALT+Key_1 + i);
connect(action, TQT_SIGNAL(activated()), bookmarkMapper, TQT_SLOT(map()));
m_bookmarkActions.append(action);
bookmarkMapper->setMapping(action, i);