diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kchmbookmarkwindow.h | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip |
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmbookmarkwindow.h')
-rw-r--r-- | src/kchmbookmarkwindow.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/kchmbookmarkwindow.h b/src/kchmbookmarkwindow.h index 20057f4..1692a3b 100644 --- a/src/kchmbookmarkwindow.h +++ b/src/kchmbookmarkwindow.h @@ -29,35 +29,36 @@ /** @author Georgy Yunaev */ -class KCHMBookmarkWindow : public QWidget +class KCHMBookmarkWindow : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KCHMBookmarkWindow(QWidget *parent = 0, const char *name = 0); + KCHMBookmarkWindow(TQWidget *tqparent = 0, const char *name = 0); virtual ~KCHMBookmarkWindow() {}; - void createMenu( KCHMMainWindow * parent ); + void createMenu( KCHMMainWindow * tqparent ); void restoreSettings (const KCHMSettings::bookmark_saved_settings_t& settings); void saveSettings (KCHMSettings::bookmark_saved_settings_t& settings); - void invalidate(); + void tqinvalidate(); public slots: void onAddBookmarkPressed (); - void slotContextMenuRequested ( QListViewItem *item, const QPoint &point, int column ); + void slotContextMenuRequested ( TQListViewItem *item, const TQPoint &point, int column ); private slots: void onBookmarkSelected( int ); void onDelBookmarkPressed( ); void onEditBookmarkPressed( ); - void onDoubleClicked ( QListViewItem *, const QPoint &, int ); + void onDoubleClicked ( TQListViewItem *, const TQPoint &, int ); private: - KQPopupMenu * m_menuBookmarks; + KTQPopupMenu * m_menuBookmarks; KQListView * m_bookmarkList; - QString m_bookmarkFileName; + TQString m_bookmarkFileName; bool m_listChanged; - KQPopupMenu * m_contextMenu; + KTQPopupMenu * m_contextMenu; }; #endif |