summaryrefslogtreecommitdiffstats
path: root/src/komposetask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/komposetask.h')
-rw-r--r--src/komposetask.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/komposetask.h b/src/komposetask.h
index 710ca83..a85d1a5 100644
--- a/src/komposetask.h
+++ b/src/komposetask.h
@@ -20,8 +20,8 @@
#ifndef KOMPOSETASK_H
#define KOMPOSETASK_H
-#include <qobject.h>
-#include <qrect.h>
+#include <tqobject.h>
+#include <tqrect.h>
#include <kwin.h>
class KWinModule;
@@ -30,11 +30,11 @@ class KomposeTaskVisualizer;
/**
@author Hans Oischinger
*/
-class KomposeTask : public QObject
+class KomposeTask : public TQObject
{
Q_OBJECT
public:
- KomposeTask(WId win, KWinModule *kwinmod, QObject *parent = 0, const char *name = 0);
+ KomposeTask(WId win, KWinModule *kwinmod, TQObject *parent = 0, const char *name = 0);
~KomposeTask();
@@ -54,13 +54,13 @@ public:
WId window() const { return windowID; }
WId wmFrame() const { return wmframeID; }
- QString name() const { return windowInfo.name(); }
- QString visibleName() const { return windowInfo.visibleName(); }
- QString visibleNameWithState() const { return windowInfo.visibleNameWithState(); }
- QRect getGeometry() const { return windowInfo.geometry(); }
- QRect getFrameGeometry() const { return windowInfo.frameGeometry(); }
+ TQString name() const { return windowInfo.name(); }
+ TQString visibleName() const { return windowInfo.visibleName(); }
+ TQString visibleNameWithState() const { return windowInfo.visibleNameWithState(); }
+ TQRect getGeometry() const { return windowInfo.geometry(); }
+ TQRect getFrameGeometry() const { return windowInfo.frameGeometry(); }
- QPixmap getIcon( int size );
+ TQPixmap getIcon( int size );
double getAspectRatio();
int getHeightForWidth( int w ) const;
int getWidthForHeight( int h ) const;
@@ -68,8 +68,8 @@ public:
KomposeTaskVisualizer* getVisualizer() { return visualizer; }
protected:
- void paintEvent ( QPaintEvent * );
- void mouseReleaseEvent ( QMouseEvent * e );
+ void paintEvent ( TQPaintEvent * );
+ void mouseReleaseEvent ( TQMouseEvent * e );
void findWmFrame();
signals: