From d991b7f387775dc1071fb0c0af78de1c613ca991 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 30 Mar 2021 14:11:34 +0300 Subject: Qt3->TQt conversion. Signed-off-by: Mavridis Philippe --- src/komposetaskvisualizer.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/komposetaskvisualizer.h') diff --git a/src/komposetaskvisualizer.h b/src/komposetaskvisualizer.h index 73419f4..9323515 100644 --- a/src/komposetaskvisualizer.h +++ b/src/komposetaskvisualizer.h @@ -12,7 +12,7 @@ #ifndef KOMPOSETASKVISUALIZER_H #define KOMPOSETASKVISUALIZER_H -#include +#include #include "komposetask.h" @@ -29,20 +29,20 @@ enum ImageEffect { IEFFECT_NONE, IEFFECT_TITLE, IEFFECT_MINIMIZED, IEFFECT_MINIMIZED_AND_TITLE, IEFFECT_HIGHLIGHT }; -class QPixmap; -class QSize; +class TQPixmap; +class TQSize; /** @author Hans Oischinger */ -class KomposeTaskVisualizer : public QObject +class KomposeTaskVisualizer : public TQObject { Q_OBJECT public: KomposeTaskVisualizer(KomposeTask *parent, const char *name = 0); ~KomposeTaskVisualizer(); - void renderOnPixmap( QPixmap* pix, int effect ); + void renderOnPixmap( TQPixmap* pix, int effect ); protected: void applyEffect(); @@ -51,7 +51,7 @@ protected slots: void initXComposite(); void captureScreenshot_GrabWindow(); void updateXCompositeNamedPixmap(); - void renderScaledScreenshot( QSize size ); + void renderScaledScreenshot( TQSize size ); void setScaledScreenshotDirty() { scaledScreenshotDirty = true; } void clearCached(); @@ -63,8 +63,8 @@ public slots: private: KomposeTask *task; - QPixmap screenshot; - QPixmap scaledScreenshot; + TQPixmap screenshot; + TQPixmap scaledScreenshot; bool scaledScreenshotDirty; bool screenshotSuspended; // suspend pasv screenshots for this task bool screenshotBlocked; // dis/enable pasv screenshots for this task -- cgit v1.2.1