summaryrefslogtreecommitdiffstats
path: root/kmid/kmidbutton.h
diff options
context:
space:
mode:
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;
- };
-
-};