Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 1 year ago
parent 955d2f7c06
commit 73305d322e
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