summaryrefslogtreecommitdiffstats
path: root/kdeui/kruler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeui/kruler.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kruler.cpp')
-rw-r--r--kdeui/kruler.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdeui/kruler.cpp b/kdeui/kruler.cpp
index 2e48c9cc5..c50cf9620 100644
--- a/kdeui/kruler.cpp
+++ b/kdeui/kruler.cpp
@@ -432,19 +432,19 @@ KRuler::setRulerMetricStyle(KRuler::MetricStyle style)
}
switch (style) {
case Pixel:
- setEndLabel(TQString::tqfromLatin1("pixel"));
+ setEndLabel(TQString::fromLatin1("pixel"));
break;
case Inch:
- setEndLabel(TQString::tqfromLatin1("inch"));
+ setEndLabel(TQString::fromLatin1("inch"));
break;
case Millimetres:
- setEndLabel(TQString::tqfromLatin1("mm"));
+ setEndLabel(TQString::fromLatin1("mm"));
break;
case Centimetres:
- setEndLabel(TQString::tqfromLatin1("cm"));
+ setEndLabel(TQString::fromLatin1("cm"));
break;
case Metres:
- setEndLabel(TQString::tqfromLatin1("m"));
+ setEndLabel(TQString::fromLatin1("m"));
default: /* never reached, see above switch */
/* empty command */;
}
@@ -550,16 +550,16 @@ KRuler::slotNewValue(int _value)
return;
}
// get the rectangular of the old and the new ruler pointer
- // and tqrepaint only him
+ // and repaint only him
if (dir == Horizontal) {
TQRect oldrec(-5+oldvalue,10, 11,6);
TQRect newrec(-5+_value,10, 11,6);
- tqrepaint( oldrec.unite(newrec) );
+ repaint( oldrec.unite(newrec) );
}
else {
TQRect oldrec(10,-5+oldvalue, 6,11);
TQRect newrec(10,-5+_value, 6,11);
- tqrepaint( oldrec.unite(newrec) );
+ repaint( oldrec.unite(newrec) );
}
}
@@ -569,7 +569,7 @@ KRuler::slotNewOffset(int _offset)
if (offset_ != _offset) {
//setOffset(_offset);
offset_ = _offset;
- tqrepaint(contentsRect());
+ repaint(contentsRect());
}
}
@@ -586,7 +586,7 @@ KRuler::slotEndOffset(int offset)
}
if (d->endOffset_length != tmp) {
d->endOffset_length = tmp;
- tqrepaint(contentsRect());
+ repaint(contentsRect());
}
}