summaryrefslogtreecommitdiffstats
path: root/kicker-applets/ktimemon/timemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/ktimemon/timemon.cc')
-rw-r--r--kicker-applets/ktimemon/timemon.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kicker-applets/ktimemon/timemon.cc b/kicker-applets/ktimemon/timemon.cc
index 2c78031..991a2e9 100644
--- a/kicker-applets/ktimemon/timemon.cc
+++ b/kicker-applets/ktimemon/timemon.cc
@@ -111,7 +111,7 @@ void KTimeMon::paintEvent(TQPaintEvent *)
b = r / 3; // bar width
r -= b;
- if (bgColour != tqcolorGroup().background())
+ if (bgColour != colorGroup().background())
{
paintRect(x, 0, b, h, bgColour, &painter);
}
@@ -125,7 +125,7 @@ void KTimeMon::paintEvent(TQPaintEvent *)
b = r / 2;
r -= b;
- if (bgColour != tqcolorGroup().background())
+ if (bgColour != colorGroup().background())
{
paintRect(x, 0, b, h, bgColour, &painter);
}
@@ -138,7 +138,7 @@ void KTimeMon::paintEvent(TQPaintEvent *)
x += b;
b = r;
- if (bgColour != tqcolorGroup().background())
+ if (bgColour != colorGroup().background())
{
paintRect(x, 0, b, h, bgColour, &painter);
}
@@ -171,11 +171,11 @@ void KTimeMon::maybeTip(const TQPoint& p)
if ( idle < 0 )
idle = 0;
TQString str = i18n("cpu: %1% idle\nmem: %2 MB %3% free\nswap: %4 MB %5% free")
- .tqarg(idle)
- .tqarg(KGlobal::locale()->formatNumber(s.used/100.*s.mtotal, 0))
- .tqarg(100-s.used)
- .tqarg(KGlobal::locale()->formatNumber(s.stotal, 0))
- .tqarg(100-s.sused);
+ .arg(idle)
+ .arg(KGlobal::locale()->formatNumber(s.used/100.*s.mtotal, 0))
+ .arg(100-s.used)
+ .arg(KGlobal::locale()->formatNumber(s.stotal, 0))
+ .arg(100-s.sused);
tip(rect(), str);
}
@@ -192,7 +192,7 @@ KTimeMon::KTimeMon(const TQString& configFile, Type type, int actions,
niceColour("yellow"), iowaitColour("darkgreen"),
usedColour("blue1"), buffersColour("yellow"),
cachedColour("darkgreen"), mkernelColour("red1"),
- swapColour("cyan3"), bgColour(tqcolorGroup().background())
+ swapColour("cyan3"), bgColour(colorGroup().background())
{
mouseAction[0] = NOTHING;
mouseAction[1] = NOTHING;
@@ -337,7 +337,7 @@ void KTimeMon::writeConfiguration()
conf->sync();
}
-// Make the KSample object update its internal sample and tqrepaint the
+// Make the KSample object update its internal sample and repaint the
// object.
void KTimeMon::timeout()
{