diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:12 -0600 |
commit | 5c194e6e7059ddcc96b0e0166ce6157c35fc183e (patch) | |
tree | 0738f35b062d40a4899e85d801ccc3395e56e0ff /twin-styles/glow/glowbutton.cpp | |
parent | 19904387391902d5944ef4209a255cbb1a912940 (diff) | |
download | tdeartwork-5c194e6e7059ddcc96b0e0166ce6157c35fc183e.tar.gz tdeartwork-5c194e6e7059ddcc96b0e0166ce6157c35fc183e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'twin-styles/glow/glowbutton.cpp')
-rw-r--r-- | twin-styles/glow/glowbutton.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/twin-styles/glow/glowbutton.cpp b/twin-styles/glow/glowbutton.cpp index 87079c2e..79a9f546 100644 --- a/twin-styles/glow/glowbutton.cpp +++ b/twin-styles/glow/glowbutton.cpp @@ -92,7 +92,7 @@ GlowButton::GlowButton(TQWidget *parent, const char *name, m_timer = new TQTimer(this); connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout())); m_pos = 0; - m_timertqStatus = Stop; + m_timerStatus = Stop; setTipText (tip); setCursor(arrowCursor); @@ -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 ) @@ -160,7 +160,7 @@ void GlowButton::enterEvent( TQEvent *e ) { if( m_pos<0 ) m_pos=-m_pos; - m_timertqStatus = Run; + m_timerStatus = Run; if( ! m_timer->isActive() ) m_timer->start(m_updateTime); TQButton::enterEvent(e); @@ -168,7 +168,7 @@ void GlowButton::enterEvent( TQEvent *e ) void GlowButton::leaveEvent( TQEvent *e ) { - m_timertqStatus = Stop; + m_timerStatus = Stop; if( ! m_timer->isActive() ) m_timer->start(m_updateTime); TQButton::leaveEvent(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,8 +195,8 @@ void GlowButton::mouseReleaseEvent( TQMouseEvent *e ) if( ! m_timer->isActive() ) { m_timer->start(m_updateTime); } - if( ! tqgeometry().contains(p) ) { - m_timertqStatus = Stop; + if( ! geometry().contains(p) ) { + m_timerStatus = Stop; } TQMouseEvent me (e->type(), e->pos(), e->globalPos(), (e->button()&m_realizeButtons)?Qt::LeftButton:Qt::NoButton, e->state()); @@ -205,12 +205,12 @@ void GlowButton::mouseReleaseEvent( TQMouseEvent *e ) void GlowButton::slotTimeout() { - tqrepaint(false); + repaint(false); if( m_pos>=_steps-1 ) { m_pos = -m_pos; } - if( m_timertqStatus==Stop ) { + if( m_timerStatus==Stop ) { if( m_pos==0 ) { m_timer->stop(); return; |