summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vsmallpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/widgets/vsmallpreview.h')
-rw-r--r--karbon/widgets/vsmallpreview.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/karbon/widgets/vsmallpreview.h b/karbon/widgets/vsmallpreview.h
index 7b1abb158..f264553d5 100644
--- a/karbon/widgets/vsmallpreview.h
+++ b/karbon/widgets/vsmallpreview.h
@@ -24,32 +24,33 @@
#ifndef VSMALLPREVIEW_H
#define VSMALLPREVIEW_H
-#include <qwidget.h>
+#include <tqwidget.h>
-class QFrame;
-class QLabel;
+class TQFrame;
+class TQLabel;
class VFill;
class VStroke;
-class VSmallPreview : public QWidget
+class VSmallPreview : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- VSmallPreview( QWidget* parent = 0L, const char* name = 0L );
+ VSmallPreview( TQWidget* tqparent = 0L, const char* name = 0L );
~VSmallPreview();
void update( const VStroke &, const VFill & );
protected:
- virtual void paintEvent( QPaintEvent* event );
+ virtual void paintEvent( TQPaintEvent* event );
private:
void drawFill( const VFill & );
void drawStroke( const VStroke & );
- QFrame *m_fillFrame;
- QFrame *m_strokeFrame;
- QLabel *m_fillLabel;
- QLabel *m_strokeLabel;
+ TQFrame *m_fillFrame;
+ TQFrame *m_strokeFrame;
+ TQLabel *m_fillLabel;
+ TQLabel *m_strokeLabel;
VFill m_fill;
VStroke m_stroke;
};