summaryrefslogtreecommitdiffstats
path: root/src/kwin/iaorabutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kwin/iaorabutton.h')
-rw-r--r--src/kwin/iaorabutton.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kwin/iaorabutton.h b/src/kwin/iaorabutton.h
index 12e9a53..8b4237b 100644
--- a/src/kwin/iaorabutton.h
+++ b/src/kwin/iaorabutton.h
@@ -23,13 +23,13 @@
#ifndef IAORABUTTON_H
#define IAORABUTTON_H
-#include <qbutton.h>
-#include <qimage.h>
+#include <tqbutton.h>
+#include <tqimage.h>
#include "iaora.h"
#include <kcommondecoration.h>
-class QTimer;
+class TQTimer;
namespace KWinIaOra {
@@ -47,9 +47,9 @@ public:
private:
- void enterEvent(QEvent *e);
- void leaveEvent(QEvent *e);
- void drawButton(QPainter *painter);
+ void enterEvent(TQEvent *e);
+ void leaveEvent(TQEvent *e);
+ void drawButton(TQPainter *painter);
private:
IaOraClient *m_client;
@@ -60,14 +60,14 @@ private:
/**
* This class creates bitmaps which can be used as icons on buttons. The icons
* are "hardcoded".
- * Over the previous "Gimp->xpm->QImage->recolor->SmoothScale->QPixmap" solution
+ * Over the previous "Gimp->xpm->TQImage->recolor->SmoothScale->TQPixmap" solution
* it has the important advantage that icons are more scalable and at the same
* time sharp and not blurred.
*/
class IconEngine
{
public:
- static QBitmap icon(ButtonIcon icon, int size);
+ static TQBitmap icon(ButtonIcon icon, int size);
private:
enum Object {
@@ -77,7 +77,7 @@ class IconEngine
CrossDiagonalLine
};
- static void drawObject(QPainter &p, Object object, int x, int y, int length, int lineWidth);
+ static void drawObject(TQPainter &p, Object object, int x, int y, int length, int lineWidth);
};
} // namespace KWinIaOra