summaryrefslogtreecommitdiffstats
path: root/kmid/kmidbutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/kmidbutton.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/kmidbutton.h')
-rw-r--r--kmid/kmidbutton.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/kmidbutton.h b/kmid/kmidbutton.h
index cda01f59..442b0fbd 100644
--- a/kmid/kmidbutton.h
+++ b/kmid/kmidbutton.h
@@ -1,13 +1,13 @@
-#include <qpushbutton.h>
-#include <qpainter.h>
+#include <tqpushbutton.h>
+#include <tqpainter.h>
class KMidButton : public QPushButton
{
protected:
- QPixmap pixmap1,pixmap2;
+ TQPixmap pixmap1,pixmap2;
- virtual void drawButton(QPainter *paint)
+ virtual void drawButton(TQPainter *paint)
{
if ((isOn())&&(!pixmap1.isNull())) paint->drawPixmap(0,0,pixmap1);
else if ((!isOn())&&(!pixmap2.isNull())) paint->drawPixmap(0,0,pixmap2);
@@ -15,7 +15,7 @@ protected:
public:
- KMidButton (QWidget *parent,const char *name) : QPushButton (parent,name)
+ KMidButton (TQWidget *parent,const char *name) : TQPushButton (parent,name)
{
};
@@ -23,7 +23,7 @@ public:
{
};
- void setPixmaps(const QPixmap& p1, const QPixmap& p2)
+ void setPixmaps(const TQPixmap& p1, const TQPixmap& p2)
{
pixmap1=p1;
pixmap2=p2;