diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:11:34 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:11:34 +0300 |
commit | d991b7f387775dc1071fb0c0af78de1c613ca991 (patch) | |
tree | eb7c978130acb1b2c93eeea98be2f647372c6fac /src/komposetask.h | |
parent | 1bd3c5b42f1570b2100a4986f638f2723ee37ec4 (diff) | |
download | kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.tar.gz kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.zip |
Qt3->TQt conversion.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposetask.h')
-rw-r--r-- | src/komposetask.h | 24 |
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: |