summaryrefslogtreecommitdiffstats
path: root/deco/config/aquariusbutton.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
commit2ee99ab520931c5efe91123c85ba10064a45e95d (patch)
treea367666e410de28d0f258aed77b11e17cafb28e4 /deco/config/aquariusbutton.h
parentcfa36e1a95e82492c17225ff376911abb3688f62 (diff)
downloadtde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz
tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'deco/config/aquariusbutton.h')
-rw-r--r--deco/config/aquariusbutton.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/deco/config/aquariusbutton.h b/deco/config/aquariusbutton.h
index 04fec0d..3632408 100644
--- a/deco/config/aquariusbutton.h
+++ b/deco/config/aquariusbutton.h
@@ -1,32 +1,32 @@
#ifndef AQUARIUSBUTTON_H
#define AQUARIUSBUTTON_H
-//#include <qvariant.h>
-#include <qwidget.h>
-#include <qimage.h>
+//#include <tqvariant.h>
+#include <tqwidget.h>
+#include <tqimage.h>
-class QPixmap;
-class QColor;
+class TQPixmap;
+class TQColor;
-class AquariusButton : public QWidget
+class AquariusButton : public TQWidget
{
Q_OBJECT
public:
- AquariusButton( QPixmap &pixmap, QWidget* parent = 0, const char* name = 0);
+ AquariusButton( TQPixmap &pixmap, TQWidget* parent = 0, const char* name = 0);
~AquariusButton();
- QColor Color();
+ TQColor Color();
public slots:
- void setColor(QColor c);
+ void setColor(TQColor c);
protected:
- QPixmap pixmap;
- QImage image;
- QColor color;
- void tint(QColor &c);
- void mousePressEvent( QMouseEvent *e );
- void paintEvent( QPaintEvent *e);
+ TQPixmap pixmap;
+ TQImage image;
+ TQColor color;
+ void tint(TQColor &c);
+ void mousePressEvent( TQMouseEvent *e );
+ void paintEvent( TQPaintEvent *e);
signals: