diff options
Diffstat (limited to 'kivio/kiviopart/ui/kiviostencilformatdlg.cpp')
-rw-r--r-- | kivio/kiviopart/ui/kiviostencilformatdlg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp index 26a62671..d16f6e89 100644 --- a/kivio/kiviopart/ui/kiviostencilformatdlg.cpp +++ b/kivio/kiviopart/ui/kiviostencilformatdlg.cpp @@ -92,7 +92,7 @@ void KivioStencilFormatDlg::initLinePatterns() for (int i = NoPen; i <= DashDotDotLine ; i++ ) { pix.fill(white); - pen.setStyle(static_cast<Qt::PenStyle>(i)); + pen.setStyle(static_cast<TQt::PenStyle>(i)); p.setPen(pen); p.drawLine(0, 8, pix.width(), 8); @@ -114,7 +114,7 @@ void KivioStencilFormatDlg::initFillPatterns() for (int i = NoBrush; i <= DiagCrossPattern; i++ ) { pix.fill(white); - brush.setStyle(static_cast<Qt::BrushStyle>(i)); + brush.setStyle(static_cast<TQt::BrushStyle>(i)); p.setBrush(brush); p.fillRect(0, 0, pix.width(), pix.height(), brush); @@ -132,13 +132,13 @@ void KivioStencilFormatDlg::initLineEndStyles() TQPen pen; pen.setColor(TQColor(0, 0, 0)); pen.setWidth(4); - pen.setStyle(Qt::SolidLine); - pen.setJoinStyle(Qt::RoundJoin); + pen.setStyle(TQt::SolidLine); + pen.setJoinStyle(TQt::RoundJoin); p.setBrush(white); for (int i = 0; i < 3; i++) { pix.fill(white); - pen.setCapStyle(static_cast<Qt::PenCapStyle>(i * 0x10)); + pen.setCapStyle(static_cast<TQt::PenCapStyle>(i * 0x10)); p.setPen(pen); p.drawLine(6, 8, pix.width() - 12, 8); |