summaryrefslogtreecommitdiffstats
path: root/kicker-applets
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:20:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 17:51:37 +0900
commit87dc5f62f604d41da2fe3f2297d0d5a59ccb414e (patch)
tree2aa9117a9edf50af1c70bea99ef8dfa3799edd00 /kicker-applets
parent6f4c5f476447236cd58c0ac4e4dc43cd4eb39a43 (diff)
downloadtdeaddons-87dc5f62.tar.gz
tdeaddons-87dc5f62.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 73305d322ed0e698d3bfde33772a36af3bc31907)
Diffstat (limited to 'kicker-applets')
-rw-r--r--kicker-applets/ktimemon/timemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicker-applets/ktimemon/timemon.cpp b/kicker-applets/ktimemon/timemon.cpp
index 7984cf2..d417ba8 100644
--- a/kicker-applets/ktimemon/timemon.cpp
+++ b/kicker-applets/ktimemon/timemon.cpp
@@ -164,7 +164,7 @@ void KTimeMon::paintRect(int x, int y, int w, int h, TQColor c, TQPainter *p)
void KTimeMon::maybeTip(const TQPoint& p)
{
if (sample == 0) return; // no associated sample...
- if(!TQT_TQRECT_OBJECT(rect()).contains(p)) return;
+ if(!rect().contains(p)) return;
KSample::Sample s = sample->getSample(100); // scale to 100(%)
int idle = 100 - s.kernel - s.user - s.nice;