summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kiviostencilformatdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /kivio/kiviopart/ui/kiviostencilformatdlg.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kivio/kiviopart/ui/kiviostencilformatdlg.cpp')
-rw-r--r--kivio/kiviopart/ui/kiviostencilformatdlg.cpp10
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);