Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 73305d322e)
r14.1.x
Michele Calgaro 1 year ago
parent 6f4c5f4764
commit 87dc5f62f6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

@ -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) {

Loading…
Cancel
Save