summaryrefslogtreecommitdiffstats
path: root/karm/print.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:24:39 +0200
commitad4317e2e02c018dcfb6c49259cfdf580637f5bd (patch)
tree4ff3110491ed677d979aca9a5711507195a66715 /karm/print.cpp
parente3649f744289c180537d2d8474dc0e39050e654f (diff)
downloadtdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.tar.gz
tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a)
Diffstat (limited to 'karm/print.cpp')
-rw-r--r--karm/print.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/karm/print.cpp b/karm/print.cpp
index df8aabf54..536883687 100644
--- a/karm/print.cpp
+++ b/karm/print.cpp
@@ -25,10 +25,10 @@ void MyPrinter::print()
if (setup(0L, i18n("Print Times"))) {
// setup
TQPainter painter(this);
- TQPaintDeviceMetrics tqdeviceMetrics(this);
+ TQPaintDeviceMetrics deviceMetrics(this);
TQFontMetrics metrics = painter.fontMetrics();
- pageHeight = tqdeviceMetrics.height();
- int pageWidth = tqdeviceMetrics.width();
+ pageHeight = deviceMetrics.height();
+ int pageWidth = deviceMetrics.width();
xMargin = margins().width();
yMargin = margins().height();
yoff = yMargin;
@@ -36,7 +36,7 @@ void MyPrinter::print()
// Calculate the totals
// Note the totals are only calculated at the top most levels, as the
- // totals are increased together with its tqchildren.
+ // totals are increased together with its children.
int totalTotal = 0;
int sessionTotal = 0;
for (Task* task = _taskView->first_child();
@@ -79,7 +79,7 @@ void MyPrinter::print()
painter.drawText(xMargin, yoff, pageWidth, height,
TQPainter::AlignCenter,
- i18n("KArm - %1").tqarg(now));
+ i18n("KArm - %1").arg(now));
painter.setFont(origFont);
yoff += height + 10;