summaryrefslogtreecommitdiffstats
path: root/src/komposetaskvisualizer.h
diff options
context:
space:
mode:
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