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/glow | |
parent | f35eb5f602bee29af07ecaffe26cda71cea62b93 (diff) | |
download | tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.tar.gz tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'twin-styles/glow')
-rw-r--r-- | twin-styles/glow/glowbutton.cpp | 8 | ||||
-rw-r--r-- | twin-styles/glow/glowclient.cpp | 14 |
2 files changed, 11 insertions, 11 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; diff --git a/twin-styles/glow/glowclient.cpp b/twin-styles/glow/glowclient.cpp index aee13ef1..37d92aa4 100644 --- a/twin-styles/glow/glowclient.cpp +++ b/twin-styles/glow/glowclient.cpp @@ -404,14 +404,14 @@ GlowClient::~GlowClient() void GlowClient::resizeEvent( TQResizeEvent * ) { doShape(); - widget()->tqrepaint(false); + widget()->repaint(false); } void GlowClient::paintEvent( TQPaintEvent * ) { GlowClientConfig *conf = GlowClientGlobals::instance()->config(); TQRect r_this = widget()->rect(); - TQRect r_title = _title_spacer->tqgeometry(); + TQRect r_title = _title_spacer->geometry(); TQColorGroup titleCg = options()->colorGroup(ColorTitleBar, isActive()); TQColorGroup titleBlendCg=options()->colorGroup(ColorTitleBlend, isActive()); TQColorGroup cg = widget()->colorGroup(); @@ -489,7 +489,7 @@ void GlowClient::paintEvent( TQPaintEvent * ) bitBlt(widget(), 0, 0, title_buffer); for (unsigned int i=0; i<m_buttonList.size(); ++i) - m_buttonList[i]->tqrepaint(false); + m_buttonList[i]->repaint(false); p.begin(widget()); p.setPen(TQt::black); @@ -521,12 +521,12 @@ void GlowClient::paintEvent( TQPaintEvent * ) void GlowClient::showEvent( TQShowEvent * ) { doShape(); - widget()->tqrepaint(false); + widget()->repaint(false); } void GlowClient::mouseDoubleClickEvent( TQMouseEvent *e ) { - if(e->button() == Qt::LeftButton && _title_spacer->tqgeometry().contains(e->pos())) + if(e->button() == Qt::LeftButton && _title_spacer->geometry().contains(e->pos())) titlebarDblClickOperation(); } @@ -539,7 +539,7 @@ void GlowClient::wheelEvent( TQWheelEvent *e ) void GlowClient::activeChange() { updateButtonPixmaps(); - widget()->tqrepaint(false); + widget()->repaint(false); } void GlowClient::iconChange() @@ -553,7 +553,7 @@ void GlowClient::shadeChange() void GlowClient::captionChange() { - widget()->update(_title_spacer->tqgeometry()); + widget()->update(_title_spacer->geometry()); } TQSize GlowClient::minimumSize() const |