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/kchmcontentswindow.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/kchmcontentswindow.h')
-rw-r--r-- | src/kchmcontentswindow.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/kchmcontentswindow.h b/src/kchmcontentswindow.h index 5860041..03ed2d0 100644 --- a/src/kchmcontentswindow.h +++ b/src/kchmcontentswindow.h @@ -31,22 +31,23 @@ class KCHMContentsWindow : public KQListView { Q_OBJECT + TQ_OBJECT public: - KCHMContentsWindow( QWidget *parent = 0, const char *name = 0 ); + KCHMContentsWindow( TQWidget *tqparent = 0, const char *name = 0 ); ~KCHMContentsWindow(); - QRect tip( const QPoint & p ); + TQRect tip( const TQPoint & p ); void refillTableOfContents(); - KCHMIndTocItem * getTreeItem( const QString& url ); + KCHMIndTocItem * getTreeItem( const TQString& url ); public slots: - void slotContextMenuRequested ( QListViewItem *item, const QPoint &point, int column ); + void slotContextMenuRequested ( TQListViewItem *item, const TQPoint &point, int column ); private: - KQPopupMenu * m_contextMenu; - QMap<QString, KCHMIndTocItem*> m_urlListMap; + KTQPopupMenu * m_contextMenu; + TQMap<TQString, KCHMIndTocItem*> m_urlListMap; }; #endif /* INCLUDE_KCHMCONTENTSWINDOW_H */ |