summaryrefslogtreecommitdiffstats
path: root/karbon/render
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/render')
-rw-r--r--karbon/render/vkopainter.cpp2
-rw-r--r--karbon/render/vkopainter.h2
-rw-r--r--karbon/render/vpainter.h2
-rw-r--r--karbon/render/vqpainter.cpp8
-rw-r--r--karbon/render/vqpainter.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/karbon/render/vkopainter.cpp b/karbon/render/vkopainter.cpp
index 3f81f3c3..54803efe 100644
--- a/karbon/render/vkopainter.cpp
+++ b/karbon/render/vkopainter.cpp
@@ -383,7 +383,7 @@ VKoPainter::setPen( const TQColor &c )
}
void
-VKoPainter::setPen( Qt::PenStyle style )
+VKoPainter::setPen( TQt::PenStyle style )
{
if( style == TQt::NoPen )
{
diff --git a/karbon/render/vkopainter.h b/karbon/render/vkopainter.h
index eac4c204..7f9263ca 100644
--- a/karbon/render/vkopainter.h
+++ b/karbon/render/vkopainter.h
@@ -75,7 +75,7 @@ public:
// pen + brush
virtual void setPen( const VStroke & );
virtual void setPen( const TQColor & );
- virtual void setPen( Qt::PenStyle style );
+ virtual void setPen( TQt::PenStyle style );
virtual void setBrush( const VFill & );
virtual void setBrush( const TQColor & );
virtual void setBrush( TQt::BrushStyle style );
diff --git a/karbon/render/vpainter.h b/karbon/render/vpainter.h
index b61d854a..dec4a394 100644
--- a/karbon/render/vpainter.h
+++ b/karbon/render/vpainter.h
@@ -81,7 +81,7 @@ public:
virtual void setPen( const VStroke & ) = 0;
// compatibility, use VPen/VBrush later ?
virtual void setPen( const TQColor & ) = 0;
- virtual void setPen( Qt::PenStyle style ) = 0;
+ virtual void setPen( TQt::PenStyle style ) = 0;
virtual void setBrush( const VFill & ) = 0;
virtual void setBrush( const TQColor & ) = 0;
virtual void setBrush( TQt::BrushStyle style ) = 0;
diff --git a/karbon/render/vqpainter.cpp b/karbon/render/vqpainter.cpp
index 51819ae3..2519bf83 100644
--- a/karbon/render/vqpainter.cpp
+++ b/karbon/render/vqpainter.cpp
@@ -174,11 +174,11 @@ VTQPainter::setPen( const VStroke &stroke )
// caps
if( stroke.lineCap() == VStroke::capButt )
- pen.setCapStyle( Qt::FlatCap );
+ pen.setCapStyle( TQt::FlatCap );
else if( stroke.lineCap() == VStroke::capRound )
- pen.setCapStyle( Qt::RoundCap );
+ pen.setCapStyle( TQt::RoundCap );
else if( stroke.lineCap() == VStroke::capSquare )
- pen.setCapStyle( Qt::SquareCap );
+ pen.setCapStyle( TQt::SquareCap );
m_painter->setPen( pen );
}
@@ -214,7 +214,7 @@ VTQPainter::setPen( const TQColor &c )
}
void
-VTQPainter::setPen( Qt::PenStyle style )
+VTQPainter::setPen( TQt::PenStyle style )
{
m_painter->setPen( style );
}
diff --git a/karbon/render/vqpainter.h b/karbon/render/vqpainter.h
index 5cf3ecd1..2ea918f1 100644
--- a/karbon/render/vqpainter.h
+++ b/karbon/render/vqpainter.h
@@ -62,7 +62,7 @@ public:
// pen + brush
virtual void setPen( const VStroke & );
virtual void setPen( const TQColor & );
- virtual void setPen( Qt::PenStyle style );
+ virtual void setPen( TQt::PenStyle style );
virtual void setBrush( const VFill & );
virtual void setBrush( const TQColor & );
virtual void setBrush( TQt::BrushStyle style );