summaryrefslogtreecommitdiffstats
path: root/kcpuload/kcpuload/statpopup.cpp
diff options
context:
space:
mode:
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"