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/komposeimage.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/komposeimage.h')
-rw-r--r-- | src/komposeimage.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/komposeimage.h b/src/komposeimage.h index 3fa5c25..77c335c 100644 --- a/src/komposeimage.h +++ b/src/komposeimage.h @@ -12,11 +12,11 @@ #ifndef KOMPOSEIMAGE_H #define KOMPOSEIMAGE_H -#include <qobject.h> -#include <qstring.h> -#include <qpixmap.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqpixmap.h> -// #include those AFTER Qt-includes! +// #include those AFTER TQt-includes! #include <X11/Xlib.h> #include <X11/Xutil.h> #include <Imlib2.h> @@ -26,7 +26,7 @@ enum ImageEffect { IEFFECT_NONE, IEFFECT_TITLE, IEFFECT_MINIMIZED, IEFFECT_MINIM /** @author Hans Oischinger */ -class KomposeImage : public QObject +class KomposeImage : public TQObject { Q_OBJECT @@ -42,7 +42,7 @@ public: void resize( int width, int height ); - QPixmap* qpixmap( int effect ); + TQPixmap* qpixmap( int effect ); void renderPixmap(); void setDirty( bool d ) { myIsDirty = d; } @@ -50,7 +50,7 @@ public: bool isValid() { return bhasImage || bhasSourcePixmap; } bool hasImage() { return bhasImage; } void setImage( Imlib_Image &im ); - void setImage( QPixmap &pm ); + void setImage( TQPixmap &pm ); public slots: void clearCached(); @@ -65,8 +65,8 @@ private: int myHeight; Imlib_Image myIm; - QPixmap myQPixmap; - QPixmap mySourceQPixmap; + TQPixmap myTQPixmap; + TQPixmap mySourceTQPixmap; Imlib_Color_Modifier cmHighlight, cmMinimized; |