diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:59 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:59 -0600 |
commit | 6b41ad2b1c1b934cf801bedd73f2358db1972378 (patch) | |
tree | 1ea88abc64a301fa863ebef50c845f628722c1d3 /twin-styles/kstep/nextclient.cpp | |
parent | f35eb5f602bee29af07ecaffe26cda71cea62b93 (diff) | |
download | tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.tar.gz tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'twin-styles/kstep/nextclient.cpp')
-rw-r--r-- | twin-styles/kstep/nextclient.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/twin-styles/kstep/nextclient.cpp b/twin-styles/kstep/nextclient.cpp index 0a6cea49..99f878ac 100644 --- a/twin-styles/kstep/nextclient.cpp +++ b/twin-styles/kstep/nextclient.cpp @@ -340,14 +340,14 @@ NextButton::NextButton(NextClient *parent, const char *name, void NextButton::reset() { - tqrepaint(false); + repaint(false); } void NextButton::setBitmap(const unsigned char *bitmap, int w, int h) { deco = new TQBitmap(w, h, bitmap, true); deco->setMask(*deco); - tqrepaint(); + repaint(); } void NextButton::drawButton(TQPainter *p) @@ -602,7 +602,7 @@ bool NextClient::mustDrawHandle() const void NextClient::iconChange() { if (button[MENU_IDX] && button[MENU_IDX]->isVisible()) - button[MENU_IDX]->tqrepaint(false); + button[MENU_IDX]->repaint(false); } void NextClient::menuButtonPressed() @@ -658,9 +658,9 @@ void NextClient::resizeEvent(TQResizeEvent *) // TODO ? update border area only? widget()->update(); #if 0 - widget()->update(titlebar->tqgeometry()); + widget()->update(titlebar->geometry()); TQPainter p(widget()); - TQRect t = titlebar->tqgeometry(); + TQRect t = titlebar->geometry(); t.setTop( 0 ); TQRegion r = widget()->rect(); r = r.subtract( t ); @@ -672,7 +672,7 @@ void NextClient::resizeEvent(TQResizeEvent *) void NextClient::captionChange() { - widget()->tqrepaint(titlebar->tqgeometry(), false); + widget()->repaint(titlebar->geometry(), false); } @@ -686,7 +686,7 @@ void NextClient::paintEvent( TQPaintEvent* ) p.drawRect(fr); // Draw title bar - TQRect t = titlebar->tqgeometry(); + TQRect t = titlebar->geometry(); t.setTop(1); p.drawTiledPixmap(t.x()+1, t.y()+1, t.width()-2, t.height()-2, isActive() ? *aTitlePix : *iTitlePix); @@ -741,7 +741,7 @@ void NextClient::paintEvent( TQPaintEvent* ) void NextClient::mouseDoubleClickEvent( TQMouseEvent * e ) { - if (e->button() == Qt::LeftButton && titlebar->tqgeometry().contains( e->pos() ) ) + if (e->button() == Qt::LeftButton && titlebar->geometry().contains( e->pos() ) ) titlebarDblClickOperation(); } @@ -753,7 +753,7 @@ void NextClient::wheelEvent( TQWheelEvent * e ) void NextClient::showEvent(TQShowEvent *) { - widget()->tqrepaint(); + widget()->repaint(); } void NextClient::desktopChange() @@ -782,7 +782,7 @@ void NextClient::maximizeChange() void NextClient::activeChange() { - widget()->tqrepaint(false); + widget()->repaint(false); slotReset(); } @@ -839,7 +839,7 @@ void NextClient::keepAboveChange(bool above) TQToolTip::remove(b); TQToolTip::add(b, above ? i18n("Do not keep above others") : i18n("Keep above others")); - b->tqrepaint(false); + b->repaint(false); } } @@ -850,7 +850,7 @@ void NextClient::keepBelowChange(bool below) TQToolTip::remove(b); TQToolTip::add(b, below ? i18n("Do not keep below others") : i18n("Keep below others")); - b->tqrepaint(false); + b->repaint(false); } } @@ -870,7 +870,7 @@ void NextClient::reset(unsigned long) if (button[i]) button[i]->reset(); } - widget()->tqrepaint(); + widget()->repaint(); } bool NextClient::eventFilter(TQObject *o, TQEvent *e) |