summaryrefslogtreecommitdiffstats
path: root/kig/misc/kigpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kig/misc/kigpainter.h')
-rw-r--r--kig/misc/kigpainter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/misc/kigpainter.h b/kig/misc/kigpainter.h
index 70b4cd9a..ee3b14c1 100644
--- a/kig/misc/kigpainter.h
+++ b/kig/misc/kigpainter.h
@@ -51,7 +51,7 @@ class ObjectHolder;
* It calls KigWidget::appendOverlay() for all of the places it draws in...
*/
class KigPainter
- : public Qt
+ : public TQt
{
protected:
// don't blaim me for this mutable hack. It's TT that hasn't got
@@ -59,10 +59,10 @@ protected:
mutable TQPainter mP;
TQColor color;
- PenStyle style;
+ Qt::PenStyle style;
int pointstyle;
int width;
- BrushStyle brushStyle;
+ Qt::BrushStyle brushStyle;
TQColor brushColor;
const KigDocument& mdoc;
@@ -94,7 +94,7 @@ public:
Rect fromScreen( const TQRect& r ) const;
// colors and stuff...
- void setStyle( const PenStyle c );
+ void setStyle( const Qt::PenStyle c );
void setColor( const TQColor& c );
/**
* setting this to -1 means to use the default width for the object
@@ -103,7 +103,7 @@ public:
void setWidth( const int c );
void setPointStyle( const int p );
void setPen( const TQPen& p );
- void setBrushStyle( const BrushStyle c );
+ void setBrushStyle( const Qt::BrushStyle c );
void setBrush( const TQBrush& b );
void setBrushColor( const TQColor& c );