diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /chalk/ui/kis_grid_drawer.cpp | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/kis_grid_drawer.cpp')
-rw-r--r-- | chalk/ui/kis_grid_drawer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/ui/kis_grid_drawer.cpp b/chalk/ui/kis_grid_drawer.cpp index f0d0e5f89..a03ad22f3 100644 --- a/chalk/ui/kis_grid_drawer.cpp +++ b/chalk/ui/kis_grid_drawer.cpp @@ -33,20 +33,20 @@ #include "kis_perspective_grid.h" #include "kis_perspective_grid_manager.h" -Qt::PenStyle GridDrawer::gs2style(TQ_UINT32 s) +TQt::PenStyle GridDrawer::gs2style(TQ_UINT32 s) { switch(s) { case 1: - return Qt::DashLine; + return TQt::DashLine; case 2: - return Qt::DotLine; + return TQt::DotLine; case 3: - return Qt::DashDotLine; + return TQt::DashDotLine; case 4: - return Qt::DashDotDotLine; + return TQt::DashDotDotLine; default: - return Qt::SolidLine; + return TQt::SolidLine; } } @@ -166,7 +166,7 @@ OpenGLGridDrawer::~OpenGLGridDrawer() void OpenGLGridDrawer::setPen(const TQPen& pen) { #ifdef HAVE_GL - Qt::PenStyle penStyle = pen.style(); + TQt::PenStyle penStyle = pen.style(); if (penStyle == TQt::SolidLine) { glDisable(GL_LINE_STIPPLE); |