summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_grid_drawer.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 /chalk/ui/kis_grid_drawer.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 'chalk/ui/kis_grid_drawer.cpp')
-rw-r--r--chalk/ui/kis_grid_drawer.cpp14
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);