summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_grid_drawer.cpp
diff options
context:
space:
mode:
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 f0d0e5f8..a03ad22f 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);