summaryrefslogtreecommitdiffstats
path: root/src/komposetaskvisualizer.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-30 14:11:34 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-03-30 14:11:34 +0300
commitd991b7f387775dc1071fb0c0af78de1c613ca991 (patch)
treeeb7c978130acb1b2c93eeea98be2f647372c6fac /src/komposetaskvisualizer.h
parent1bd3c5b42f1570b2100a4986f638f2723ee37ec4 (diff)
downloadkompose-d991b7f387775dc1071fb0c0af78de1c613ca991.tar.gz
kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.zip
Qt3->TQt conversion.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposetaskvisualizer.h')
-rw-r--r--src/komposetaskvisualizer.h16
1 files changed, 8 insertions, 8 deletions
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 <qobject.h>
+#include <tqobject.h>
#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