summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinxtoolbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxspinxtoolbar.h
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-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.h19
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;
};