diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:48:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:48:07 +0000 |
commit | 0525bd68b1324389d0825761afec5d2ed252a9a5 (patch) | |
tree | 8a1cb1649c11510a8a8c9fbacc353bfdad74bad2 /src/bookreader.h | |
parent | 5cce0292935a57e7fab4417d428637fcb84315a9 (diff) | |
download | kbookreader-0525bd68b1324389d0825761afec5d2ed252a9a5.tar.gz kbookreader-0525bd68b1324389d0825761afec5d2ed252a9a5.zip |
TQt4 port kbookreader
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbookreader@1242484 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/bookreader.h')
-rw-r--r-- | src/bookreader.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bookreader.h b/src/bookreader.h index 989d099..01773b0 100644 --- a/src/bookreader.h +++ b/src/bookreader.h @@ -45,6 +45,7 @@ class KSplashScreen; class BookReader : public KMainWindow { Q_OBJECT + TQ_OBJECT public: /** * Default Constructor @@ -65,10 +66,10 @@ public: protected: /** - * Overridden virtuals for Qt drag 'n drop (XDND) + * Overridden virtuals for TQt drag 'n drop (XDND) */ - virtual void dragEnterEvent(QDragEnterEvent *event); - virtual void dropEvent(QDropEvent *event); + virtual void dragEnterEvent(TQDragEnterEvent *event); + virtual void dropEvent(TQDropEvent *event); virtual bool queryExit(); protected: @@ -94,8 +95,8 @@ private slots: void optionsPreferences(); void slotURLSelected(const KURL &); void fullScreen(); - void changeStatusbar(const QString& text); - void changeCaption(const QString& text); + void changeStatusbar(const TQString& text); + void changeCaption(const TQString& text); void loadSettings(); void loaded(int); void gotoFirstPage(); @@ -117,7 +118,7 @@ private: //Actions KRecentFilesAction * recentFilesAction; KToggleFullScreenAction * m_fullScreenAction; - QPtrList<KAction> m_bookmarkActions; + TQPtrList<KAction> m_bookmarkActions; KURL lastURL; KSplashScreen * m_splash; KPrinter * m_printer; |