summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrRectPreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrRectPreview.h')
-rw-r--r--kpresenter/KPrRectPreview.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kpresenter/KPrRectPreview.h b/kpresenter/KPrRectPreview.h
index 2983c94a..3b91fe33 100644
--- a/kpresenter/KPrRectPreview.h
+++ b/kpresenter/KPrRectPreview.h
@@ -23,29 +23,30 @@
#ifndef RECTPREVIEW_H
#define RECTPREVIEW_H
-#include <qframe.h>
-#include <qpen.h>
-#include <qbrush.h>
+#include <tqframe.h>
+#include <tqpen.h>
+#include <tqbrush.h>
-class KPrRectPreview : public QFrame
+class KPrRectPreview : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrRectPreview( QWidget* parent, const char* );
+ KPrRectPreview( TQWidget* tqparent, const char* );
~KPrRectPreview() {}
void setRnds( int _rx, int _ry )
- { xRnd = _rx; yRnd = _ry; repaint( contentsRect(), true ); }
- void setPenBrush( const QPen &_pen, const QBrush &_brush )
- { pen = _pen; brush = _brush; repaint( true ); }
+ { xRnd = _rx; yRnd = _ry; tqrepaint( contentsRect(), true ); }
+ void setPenBrush( const TQPen &_pen, const TQBrush &_brush )
+ { pen = _pen; brush = _brush; tqrepaint( true ); }
protected:
- void drawContents( QPainter* );
+ void drawContents( TQPainter* );
int xRnd, yRnd;
- QPen pen;
- QBrush brush;
+ TQPen pen;
+ TQBrush brush;
};
#endif /* RECTPREVIEW_H */