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:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /chalk/ui/kis_grid_drawer.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
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); |