From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: TQt4 port kvirc This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/help/helpwidget.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/modules/help/helpwidget.h') diff --git a/src/modules/help/helpwidget.h b/src/modules/help/helpwidget.h index e00f8bcf..9e2c1c49 100644 --- a/src/modules/help/helpwidget.h +++ b/src/modules/help/helpwidget.h @@ -23,38 +23,39 @@ // #include "kvi_tal_hbox.h" -#include +#include #include "index.h" -#include +#include class KviFrame; -class QToolButton; -class QLineEdit; +class TQToolButton; +class TQLineEdit; //class KviProcess; -class KviHelpWidget : public QWidget +class KviHelpWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KviHelpWidget(QWidget *par,KviFrame * lpFrm,bool bIsStandalone = false); + KviHelpWidget(TQWidget *par,KviFrame * lpFrm,bool bIsStandalone = false); ~KviHelpWidget(); private: - QToolButton * m_pBtnIndex; - QToolButton * m_pBtnBackward; - QToolButton * m_pBtnForward; + TQToolButton * m_pBtnIndex; + TQToolButton * m_pBtnBackward; + TQToolButton * m_pBtnForward; KviTalHBox * m_pToolBar; - QTextBrowser * m_pTextBrowser; + TQTextBrowser * m_pTextBrowser; bool m_bIsStandalone; protected: - virtual void resizeEvent(QResizeEvent *e); - bool eventFilter(QObject *, QEvent *); + virtual void resizeEvent(TQResizeEvent *e); + bool eventFilter(TQObject *, TQEvent *); protected slots: void doClose(); void showIndex(); void suicide(); public: - virtual QSize sizeHint() const; - QTextBrowser * textBrowser() { return m_pTextBrowser; } + virtual TQSize tqsizeHint() const; + TQTextBrowser * textBrowser() { return m_pTextBrowser; } }; -- cgit v1.2.1