summaryrefslogtreecommitdiffstats
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 12:20:14 +0900
commit73305d322ed0e698d3bfde33772a36af3bc31907 (patch)
treef74bd38ae4623a00a05b7a7d9759e5e2236f889c
parent955d2f7c06bd74ea9b8e93f8afb9b44f3ab509fc (diff)
downloadtdeaddons-73305d322ed0e698d3bfde33772a36af3bc31907.tar.gz
tdeaddons-73305d322ed0e698d3bfde33772a36af3bc31907.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kicker-applets/ktimemon/timemon.cpp2
-rw-r--r--konq-plugins/fsview/treemap.cpp2
2 files changed, 2 insertions, 2 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;
diff --git a/konq-plugins/fsview/treemap.cpp b/konq-plugins/fsview/treemap.cpp
index 2f85060..9c3d877 100644
--- a/konq-plugins/fsview/treemap.cpp
+++ b/konq-plugins/fsview/treemap.cpp
@@ -1478,7 +1478,7 @@ TreeMapItem* TreeMapWidget::item(int x, int y) const
TreeMapItem* p = _base;
TreeMapItem* i;
- if (!TQT_TQRECT_OBJECT(rect()).contains(x, y)) return 0;
+ if (!rect().contains(x, y)) return 0;
if (DEBUG_DRAWING) kdDebug(90100) << "item(" << x << "," << y << "):" << endl;
while (1) {