summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinxtoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxspinxtoolbar.cpp')
-rw-r--r--src/kbfxspinxtoolbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kbfxspinxtoolbar.cpp b/src/kbfxspinxtoolbar.cpp
index 8a35f15..bd8b029 100644
--- a/src/kbfxspinxtoolbar.cpp
+++ b/src/kbfxspinxtoolbar.cpp
@@ -21,7 +21,7 @@
#include "kbfxspinxtoolbar.h"
-KbfxSpinxToolBar::KbfxSpinxToolBar ( QWidget * parent , const char * name , WFlags l ) :QWidget ( parent,name,l )
+KbfxSpinxToolBar::KbfxSpinxToolBar ( TQWidget * tqparent , const char * name , WFlags l ) :TQWidget ( tqparent,name,l )
{
_y = 0;
@@ -35,7 +35,7 @@ KbfxSpinxToolBar::~KbfxSpinxToolBar()
{}
void
-KbfxSpinxToolBar::setSize ( QSize size )
+KbfxSpinxToolBar::setSize ( TQSize size )
{
this->resize ( size );
_x = size.width();
@@ -54,12 +54,12 @@ void KbfxSpinxToolBar::addButton ( KbfxSpinxToolButton * btn )
btn->update();
}
-void KbfxSpinxToolBar::paintEvent ( QPaintEvent * pe )
+void KbfxSpinxToolBar::paintEvent ( TQPaintEvent * pe )
{
pe = pe ;
- QPainter p;
+ TQPainter p;
p.begin ( this );
- p.drawPixmap ( QRect ( 0,0,ConfigInit().m_botBar_w,ConfigInit().m_botBar_h ),m_bg );
+ p.drawPixmap ( TQRect ( 0,0,ConfigInit().m_botBar_w,ConfigInit().m_botBar_h ),m_bg );
p.end();
}