summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/calendar/calpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/calendar/calpainter.h')
-rw-r--r--kipi-plugins/calendar/calpainter.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/kipi-plugins/calendar/calpainter.h b/kipi-plugins/calendar/calpainter.h
index 3d0a89a..7a4a4e4 100644
--- a/kipi-plugins/calendar/calpainter.h
+++ b/kipi-plugins/calendar/calpainter.h
@@ -22,10 +22,10 @@
#ifndef CALPAINTER_H
#define CALPAINTER_H
-// Qt includes.
+// TQt includes.
-#include <qobject.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqvaluelist.h>
// KDE includes.
@@ -36,11 +36,11 @@
#include "calformatter.h"
-class QPaintDevice;
-class QPainter;
-class QString;
-class QTimer;
-class QImage;
+class TQPaintDevice;
+class TQPainter;
+class TQString;
+class TQTimer;
+class TQImage;
namespace KIPICalendarPlugin
{
@@ -49,7 +49,7 @@ class CalPainter
{
public:
- CalPainter(QPaintDevice *pd);
+ CalPainter(TQPaintDevice *pd);
~CalPainter();
void setYearMonth(int year, int month);
@@ -57,19 +57,20 @@ public:
private:
- QPaintDevice *pd_;
+ TQPaintDevice *pd_;
int year_;
int month_;
};
-class CalBlockPainter : public QObject
+class CalBlockPainter : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- CalBlockPainter(QObject *parent, int year, int month,
- const KURL& imagePath, int angle, CalFormatter* formatter, QPainter *painter);
+ CalBlockPainter(TQObject *tqparent, int year, int month,
+ const KURL& imagePath, int angle, CalFormatter* formatter, TQPainter *painter);
~CalBlockPainter();
signals:
@@ -88,9 +89,9 @@ private:
struct Block *blocks_;
int numBlocks_;
int currBlock_;
- QTimer *timer_;
- QPainter *painter_;
- QImage *image_;
+ TQTimer *timer_;
+ TQPainter *painter_;
+ TQImage *image_;
private slots: