diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxspinxtoolbar.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
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
Diffstat (limited to 'src/kbfxspinxtoolbar.h')
-rw-r--r-- | src/kbfxspinxtoolbar.h | 19 |
1 files changed, 10 insertions, 9 deletions
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 <qpainter.h> -#include <qpixmap.h> -#include <qstring.h> -#include <qwidget.h> +#include <tqpainter.h> +#include <tqpixmap.h> +#include <tqstring.h> +#include <tqwidget.h> #include <kbfxconfig.h> #include <kbfxplasmapixmapprovider.h> #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; }; |