summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_1d_stencil.cpp2
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_fill_style.cpp4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_fill_style.h6
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_line_style.cpp6
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp6
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp2
6 files changed, 13 insertions, 13 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.cpp
index a57af7c8..8479eb86 100644
--- a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.cpp
@@ -148,7 +148,7 @@ int Kivio1DStencil::linePattern()
void Kivio1DStencil::setFillPattern(int p)
{
- m_pFillStyle->setBrushStyle(static_cast<Qt::BrushStyle>(p));
+ m_pFillStyle->setBrushStyle(static_cast<TQt::BrushStyle>(p));
}
int Kivio1DStencil::fillPattern()
diff --git a/kivio/kiviopart/kiviosdk/kivio_fill_style.cpp b/kivio/kiviopart/kiviosdk/kivio_fill_style.cpp
index 29f0f1f5..4d4a68b1 100644
--- a/kivio/kiviopart/kiviosdk/kivio_fill_style.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_fill_style.cpp
@@ -32,7 +32,7 @@ KivioFillStyle::KivioFillStyle()
m_colorStyle = kcsSolid;
m_color = TQColor(255,255,255);
m_color2 = TQColor(255,255,255);
- m_brushStyle = Qt::SolidPattern;
+ m_brushStyle = TQt::SolidPattern;
m_gradientType = KImageEffect::VerticalGradient;
}
@@ -130,7 +130,7 @@ TQBrush KivioFillStyle::brush()
break;
case kcsNone:
- b.setStyle(Qt::NoBrush);
+ b.setStyle(TQt::NoBrush);
break;
case kcsGradient:
diff --git a/kivio/kiviopart/kiviosdk/kivio_fill_style.h b/kivio/kiviopart/kiviosdk/kivio_fill_style.h
index 4be7303b..9a362077 100644
--- a/kivio/kiviopart/kiviosdk/kivio_fill_style.h
+++ b/kivio/kiviopart/kiviosdk/kivio_fill_style.h
@@ -45,7 +45,7 @@ protected:
KivioColorStyle m_colorStyle; // The color style to use when filling
TQColor m_color; // The color to use when solid filling
TQColor m_color2; // The second color to use when using a gradient
- Qt::BrushStyle m_brushStyle; // The brush pattern to use when solid filling (maybe gradient too?)
+ TQt::BrushStyle m_brushStyle; // The brush pattern to use when solid filling (maybe gradient too?)
KImageEffect::GradientType m_gradientType; //Which type of gradient to use
public:
@@ -68,8 +68,8 @@ public:
inline TQColor color2() const { return m_color2; }
inline void setColor2( const TQColor& c ) { m_color2 = c; }
- inline Qt::BrushStyle brushStyle() const { return m_brushStyle; }
- inline void setBrushStyle( Qt::BrushStyle b ) { m_brushStyle = b; }
+ inline TQt::BrushStyle brushStyle() const { return m_brushStyle; }
+ inline void setBrushStyle( TQt::BrushStyle b ) { m_brushStyle = b; }
inline KImageEffect::GradientType gradientType() const { return m_gradientType; }
inline void setGradientType(KImageEffect::GradientType t) { m_gradientType = t; }
diff --git a/kivio/kiviopart/kiviosdk/kivio_line_style.cpp b/kivio/kiviopart/kiviosdk/kivio_line_style.cpp
index 7622a289..cd644669 100644
--- a/kivio/kiviopart/kiviosdk/kivio_line_style.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_line_style.cpp
@@ -79,9 +79,9 @@ TQPen KivioLineStyle::pen( float scale ) const
p.setColor( m_color );
p.setWidth( (int)s );
- p.setJoinStyle( (Qt::PenJoinStyle)m_joinStyle );
- p.setCapStyle( (Qt::PenCapStyle)m_capStyle );
- p.setStyle( (Qt::PenStyle)m_style );
+ p.setJoinStyle( (TQt::PenJoinStyle)m_joinStyle );
+ p.setCapStyle( (TQt::PenCapStyle)m_capStyle );
+ p.setStyle( (TQt::PenStyle)m_style );
return p;
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
index 02c850e4..4424cc71 100644
--- a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
@@ -472,7 +472,7 @@ void KivioScreenPainter::drawLineArray( TQPtrList<KivioPoint> *pList )
int i;
TQBrush b;
- b.setStyle( Qt::NoBrush );
+ b.setStyle( TQt::NoBrush );
i=0;
pPoint = pList->first();
@@ -878,7 +878,7 @@ void KivioScreenPainter::drawHandle( float x, float y, int flags )
penColor.setRgb(0, 0, 0);
b.setColor(fillColor);
- b.setStyle(Qt::SolidPattern);
+ b.setStyle(TQt::SolidPattern);
p.setColor(penColor);
m_pPainter->setPen(p);
m_pPainter->setBrush(b);
@@ -910,7 +910,7 @@ void KivioScreenPainter::drawSelectionBox( const TQRect& r )
PAINTER_CHECK();
TQPen p;
p.setColor(TQColor(0,200,0));
- p.setStyle(Qt::DashLine);
+ p.setStyle(TQt::DashLine);
m_pPainter->setBrush(TQt::NoBrush);
m_pPainter->setPen(p);
m_pPainter->drawRect(r);
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
index dc6f2722..cc6a1a5a 100644
--- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.cpp
@@ -1388,7 +1388,7 @@ void KivioSMLStencil::setFillPattern(int p)
pShape = m_pShapeList->first();
while( pShape )
{
- pShape->shapeData()->fillStyle()->setBrushStyle( static_cast<Qt::BrushStyle>(p) );
+ pShape->shapeData()->fillStyle()->setBrushStyle( static_cast<TQt::BrushStyle>(p) );
pShape = m_pShapeList->next();
}