summaryrefslogtreecommitdiffstats
path: root/kcpuload/kcpuload/statpopup.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:36:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:36:16 -0600
commitbebb5662cd66f6fad9d103a6f14a1db38f6f79b1 (patch)
tree6962a4fd016015911da817d19ad361efa999650c /kcpuload/kcpuload/statpopup.cpp
parentcff8b5059405105306f8825a605be764a5d2cde5 (diff)
downloadkcpuload-bebb5662cd66f6fad9d103a6f14a1db38f6f79b1.tar.gz
kcpuload-bebb5662cd66f6fad9d103a6f14a1db38f6f79b1.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kcpuload/kcpuload/statpopup.cpp')
-rw-r--r--kcpuload/kcpuload/statpopup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcpuload/kcpuload/statpopup.cpp b/kcpuload/kcpuload/statpopup.cpp
index e4c7d42..668614b 100644
--- a/kcpuload/kcpuload/statpopup.cpp
+++ b/kcpuload/kcpuload/statpopup.cpp
@@ -54,7 +54,7 @@ void StatPopup::Reading::Init(int which, StatPopup* popup)
color = popup->defaultDockColor(which);
color = popup->config->readColorEntry(colorid, &color);
- actColor = new KAction(i18n("Color (%1)...").tqarg(popup->dockName(which)),
+ actColor = new KAction(i18n("Color (%1)...").arg(popup->dockName(which)),
"color", 0, TQT_TQOBJECT(popup), TQT_SLOT(selectColor()), popup->coll, colorid);
}
@@ -412,7 +412,7 @@ void StatPopup::mousePressEvent(TQMouseEvent* e) {
isDragged = true;
relX = e->x();
relY = e->y();
- tqrepaint();
+ repaint();
}
}
@@ -425,7 +425,7 @@ void StatPopup::mouseReleaseEvent(TQMouseEvent* e) {
// The end of a drag operation.
move(e->globalX() - relX, e->globalY() - relY);
isDragged = false;
- tqrepaint();
+ repaint();
}
void StatPopup::closeEvent(TQCloseEvent* e) {
@@ -469,7 +469,7 @@ void StatPopup::takeReading() {
if (resizeRequested)
resizeToText();
- tqrepaint();
+ repaint();
}
}
@@ -479,7 +479,7 @@ void StatPopup::resizeToText() {
TQSize size = fontMetrics().size(0, fullReading);
resize(size.width() + 2 * TEXT_EXPANSION_HORIZONTAL,
size.height() + 2 * TEXT_EXPANSION_VERTICAL);
- tqrepaint();
+ repaint();
}
#include "statpopup.moc"