From 25794f504692e5a36c490438814e9dfda8aaa2dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 29 May 2011 19:00:37 +0000 Subject: 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 --- src/kchmcontentswindow.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/kchmcontentswindow.h') 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 m_urlListMap; + KTQPopupMenu * m_contextMenu; + TQMap m_urlListMap; }; #endif /* INCLUDE_KCHMCONTENTSWINDOW_H */ -- cgit v1.2.3