summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/help/helpwidget.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
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
Diffstat (limited to 'src/modules/help/helpwidget.h')
-rw-r--r--src/modules/help/helpwidget.h29
1 files changed, 15 insertions, 14 deletions
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 <qtextbrowser.h>
+#include <tqtextbrowser.h>
#include "index.h"
-#include <qprogressbar.h>
+#include <tqprogressbar.h>
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; }
};