From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/utility/toolbartabwidget.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'quanta/utility/toolbartabwidget.h') diff --git a/quanta/utility/toolbartabwidget.h b/quanta/utility/toolbartabwidget.h index 6be17eda..11318394 100644 --- a/quanta/utility/toolbartabwidget.h +++ b/quanta/utility/toolbartabwidget.h @@ -24,16 +24,17 @@ class TQWidgetStack; class TQTabBar; class KToolBar; -class ToolbarTabWidget: public QTabWidget +class ToolbarTabWidget: public TQTabWidget { Q_OBJECT + TQ_OBJECT public: TQWidgetStack *m_widgetStack; - static ToolbarTabWidget* const ref(TQWidget *parent = 0L, const char *name = 0L) + static ToolbarTabWidget* const ref(TQWidget *tqparent = 0L, const char *name = 0L) { static ToolbarTabWidget *m_ref; - if (!m_ref) m_ref = new ToolbarTabWidget (parent, name); + if (!m_ref) m_ref = new ToolbarTabWidget (tqparent, name); return m_ref; } virtual ~ToolbarTabWidget(){}; @@ -76,7 +77,7 @@ protected: TQMap toolbarList; private: - ToolbarTabWidget(TQWidget * parent = 0, const char * name = 0, WFlags f = 0); + ToolbarTabWidget(TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0); KToolBar::IconText m_iconText; }; @@ -84,9 +85,10 @@ private: class QuantaToolBar: public KToolBar { Q_OBJECT + TQ_OBJECT public: - QuantaToolBar (TQWidget *parent, const char *name=0, bool honor_style=FALSE, bool readConfig=TRUE); + QuantaToolBar (TQWidget *tqparent, const char *name=0, bool honor_style=FALSE, bool readConfig=TRUE); virtual ~QuantaToolBar() {}; private slots: -- cgit v1.2.1