summaryrefslogtreecommitdiffstats
path: root/tdeprint/marginpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/marginpreview.cpp')
-rw-r--r--tdeprint/marginpreview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/marginpreview.cpp b/tdeprint/marginpreview.cpp
index 45f70b7f1..20fa3574b 100644
--- a/tdeprint/marginpreview.cpp
+++ b/tdeprint/marginpreview.cpp
@@ -37,16 +37,16 @@
static void draw3DPage(TQPainter *p, TQRect r)
{
// draw white page
- p->fillRect(r,Qt::white);
+ p->fillRect(r,TQt::white);
// draw 3D border
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->moveTo(r.left(),r.bottom());
p->lineTo(r.right(),r.bottom());
p->lineTo(r.right(),r.top());
- p->setPen(Qt::darkGray);
+ p->setPen(TQt::darkGray);
p->lineTo(r.left(),r.top());
p->lineTo(r.left(),r.bottom());
- p->setPen(Qt::gray);
+ p->setPen(TQt::gray);
p->moveTo(r.left()+1,r.bottom()-1);
p->lineTo(r.right()-1,r.bottom()-1);
p->lineTo(r.right()-1,r.top()+1);
@@ -189,7 +189,7 @@ void MarginPreview::mouseMoveEvent(TQMouseEvent *e)
if (nopreview_ || state_ == Fixed)
return;
int pos = locateMouse(e->pos());
- if (state_ == None && e->button() == Qt::NoButton)
+ if (state_ == None && e->button() == TQt::NoButton)
{
switch (pos)
{
@@ -262,7 +262,7 @@ void MarginPreview::drawTempLine(TQPainter *p)
void MarginPreview::mousePressEvent(TQMouseEvent *e)
{
- if (e->button() != Qt::LeftButton || state_ != None)
+ if (e->button() != TQt::LeftButton || state_ != None)
return;
int mpos = locateMouse(e->pos());
if (mpos)