From 421b60af92c83b889f8903c2898f2bd07186fcd8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 May 2011 22:07:15 +0000 Subject: TQt4 port kbfx This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kbfxspinxtoolbar.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/kbfxspinxtoolbar.h') diff --git a/src/kbfxspinxtoolbar.h b/src/kbfxspinxtoolbar.h index 7ad8539..802c137 100644 --- a/src/kbfxspinxtoolbar.h +++ b/src/kbfxspinxtoolbar.h @@ -22,34 +22,35 @@ #ifndef KBFX_SPINX_TOOL_BAR_H #define KBFX_SPINX_TOOL_BAR_H -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include "kbfxspinxtoolbutton.h" -class KbfxSpinxToolBar:public QWidget +class KbfxSpinxToolBar:public TQWidget { Q_OBJECT + TQ_OBJECT public: - KbfxSpinxToolBar ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ); + KbfxSpinxToolBar ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 ); virtual ~KbfxSpinxToolBar(); - virtual void paintEvent ( QPaintEvent * pe ); + virtual void paintEvent ( TQPaintEvent * pe ); void addButton ( KbfxSpinxToolButton * btn ); - void setSize ( QSize s ); + void setSize ( TQSize s ); private: int _x; int _y; int m_buttonWidth; int m_buttonHeight; - QPixmap m_bg; + TQPixmap m_bg; }; -- cgit v1.2.1