diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:52:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:52:59 -0600 |
commit | 6b41ad2b1c1b934cf801bedd73f2358db1972378 (patch) | |
tree | 1ea88abc64a301fa863ebef50c845f628722c1d3 /twin-styles/glow/glowbutton.cpp | |
parent | f35eb5f602bee29af07ecaffe26cda71cea62b93 (diff) | |
download | tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.tar.gz tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'twin-styles/glow/glowbutton.cpp')
-rw-r--r-- | twin-styles/glow/glowbutton.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin-styles/glow/glowbutton.cpp b/twin-styles/glow/glowbutton.cpp index 1b7d344b..79a9f546 100644 --- a/twin-styles/glow/glowbutton.cpp +++ b/twin-styles/glow/glowbutton.cpp @@ -132,7 +132,7 @@ void GlowButton::setPixmapName(const TQString& pixmapName) // set steps _steps = pixmap->height()/pixmap->width() - 1; - tqrepaint(false); + repaint(false); } void GlowButton::paintEvent( TQPaintEvent *e ) @@ -180,7 +180,7 @@ void GlowButton::mousePressEvent( TQMouseEvent *e ) if( m_timer->isActive() ) m_timer->stop(); m_pos = _steps; - tqrepaint(false); + repaint(false); // without pretending LeftButton, clicking on the button with MidButton // or RightButton would cause unwanted titlebar action TQMouseEvent me (e->type(), e->pos(), e->globalPos(), @@ -195,7 +195,7 @@ void GlowButton::mouseReleaseEvent( TQMouseEvent *e ) if( ! m_timer->isActive() ) { m_timer->start(m_updateTime); } - if( ! tqgeometry().contains(p) ) { + if( ! geometry().contains(p) ) { m_timerStatus = Stop; } TQMouseEvent me (e->type(), e->pos(), e->globalPos(), @@ -205,7 +205,7 @@ void GlowButton::mouseReleaseEvent( TQMouseEvent *e ) void GlowButton::slotTimeout() { - tqrepaint(false); + repaint(false); if( m_pos>=_steps-1 ) { m_pos = -m_pos; |