summaryrefslogtreecommitdiffstats
path: root/src/effectwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectwidget.h')
-rw-r--r--src/effectwidget.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/effectwidget.h b/src/effectwidget.h
index 57df6bf..813e69b 100644
--- a/src/effectwidget.h
+++ b/src/effectwidget.h
@@ -13,25 +13,26 @@
#ifndef FADEWIDGET_H
#define FADEWIDGET_H
-#include <qwidget.h>
-#include <qptrlist.h>
-#include <qpixmap.h>
-#include <qimage.h>
+#include <tqwidget.h>
+#include <tqptrlist.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
#include <kimageeffect.h>
-class QTimer;
+class TQTimer;
-class EffectWidget : public QWidget
+class EffectWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- EffectWidget(QWidget *parent = 0,const char *name = 0);
+ EffectWidget(TQWidget *tqparent = 0,const char *name = 0);
- static void setBackgroundImage(QImage *image) { bgImage = image; }
+ static void setBackgroundImage(TQImage *image) { bgImage = image; }
- void setImage(QImage *i);
+ void setImage(TQImage *i);
void setDelay(int delayInMS);
void setLoop(bool loop);
void setSteps(int steps);
@@ -41,9 +42,9 @@ class EffectWidget : public QWidget
void stop();
void rewind();
- void paintEvent(QPaintEvent *);
- void resizeEvent(QResizeEvent *);
- void moveEvent(QMoveEvent *);
+ void paintEvent(TQPaintEvent *);
+ void resizeEvent(TQResizeEvent *);
+ void moveEvent(TQMoveEvent *);
void updateCache();
@@ -51,11 +52,11 @@ class EffectWidget : public QWidget
void timerTick();
private:
- static QImage *bgImage;
+ static TQImage *bgImage;
- QTimer *timer;
- QImage *image;
- QImage background;
+ TQTimer *timer;
+ TQImage *image;
+ TQImage background;
unsigned int delayMS;
unsigned int currentStep;
unsigned int totalSteps;