summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vstrokefillpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/widgets/vstrokefillpreview.h')
-rw-r--r--karbon/widgets/vstrokefillpreview.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/karbon/widgets/vstrokefillpreview.h b/karbon/widgets/vstrokefillpreview.h
index 20b0acbd..81fdffae 100644
--- a/karbon/widgets/vstrokefillpreview.h
+++ b/karbon/widgets/vstrokefillpreview.h
@@ -20,32 +20,33 @@
#ifndef __VSTROKEFILLPREVIEW_H__
#define __VSTROKEFILLPREVIEW_H__
-#include <qframe.h>
-#include <qpixmap.h>
+#include <tqframe.h>
+#include <tqpixmap.h>
class VKoPainter;
class VFill;
class VStroke;
class KarbonPart;
-class VStrokeFillPreview : public QFrame
+class VStrokeFillPreview : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- VStrokeFillPreview( KarbonPart *part, QWidget* parent = 0L, const char* name = 0L );
+ VStrokeFillPreview( KarbonPart *part, TQWidget* tqparent = 0L, const char* name = 0L );
~VStrokeFillPreview();
- virtual QSize sizeHint() const
- { return QSize( 50, 50 ); }
- virtual QSize minimumSizeHint() const
- { return QSize( 20, 20 ); }
- virtual QSizePolicy sizePolicy() const
- { return QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); }
+ virtual TQSize tqsizeHint() const
+ { return TQSize( 50, 50 ); }
+ virtual TQSize tqminimumSizeHint() const
+ { return TQSize( 20, 20 ); }
+ virtual TQSizePolicy sizePolicy() const
+ { return TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ); }
void update( const VStroke &, const VFill & );
- virtual bool eventFilter( QObject* object, QEvent* event );
+ virtual bool eventFilter( TQObject* object, TQEvent* event );
bool strokeIsSelected() const { return m_strokeWidget; }
void setFillSelected();
@@ -57,13 +58,13 @@ signals:
void strokeSelected();
protected:
- virtual void paintEvent( QPaintEvent* event );
+ virtual void paintEvent( TQPaintEvent* event );
private:
VKoPainter* m_painter;
void drawFill( const VFill & );
void drawStroke( const VStroke & );
- QPixmap m_pixmap;
+ TQPixmap m_pixmap;
KarbonPart *m_part;
bool m_strokeWidget;
VFill m_fill;