summaryrefslogtreecommitdiffstats
path: root/kmid/kmidbutton.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:43 -0600
commitcb68a7857c80661d242ee5527ec6f99dc3f79fa7 (patch)
treea3b54203ca6bce0e8e1dc5107dc9653db246a281 /kmid/kmidbutton.h
parent7534907d3759a8c520eeb9a701b316d891c63bdf (diff)
downloadtdemultimedia-cb68a7857c80661d242ee5527ec6f99dc3f79fa7.tar.gz
tdemultimedia-cb68a7857c80661d242ee5527ec6f99dc3f79fa7.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kmid/kmidbutton.h')
-rw-r--r--kmid/kmidbutton.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/kmid/kmidbutton.h b/kmid/kmidbutton.h
deleted file mode 100644
index ca48d9fb..00000000
--- a/kmid/kmidbutton.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#include <tqpushbutton.h>
-#include <tqpainter.h>
-
-class KMidButton : public TQPushButton
-{
-protected:
-
- TQPixmap pixmap1,pixmap2;
-
- virtual void drawButton(TQPainter *paint)
- {
- if ((isOn())&&(!pixmap1.isNull())) paint->drawPixmap(0,0,pixmap1);
- else if ((!isOn())&&(!pixmap2.isNull())) paint->drawPixmap(0,0,pixmap2);
- };
-
-public:
-
- KMidButton (TQWidget *parent,const char *name) : TQPushButton (parent,name)
- {
- };
-
- ~KMidButton()
- {
- };
-
- void setPixmaps(const TQPixmap& p1, const TQPixmap& p2)
- {
- pixmap1=p1;
- pixmap2=p2;
- };
-
-};