diff options
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; |