From 1f3400bba10b276a9e167ef6f6d9d31c84a18135 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:36:11 -0600 Subject: Remove additional unneeded tq method conversions --- src/kbfxbutton.cpp | 4 ++-- src/kbfxplasmacanvasview.cpp | 4 ++-- src/kbfxspinx.cpp | 8 ++++---- src/kbfxspinxtoolbutton.cpp | 2 +- src/kbfxspinxtop.cpp | 2 +- src/kbfxtooltip.cpp | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/kbfxbutton.cpp b/src/kbfxbutton.cpp index a3a0f87..d4903d7 100644 --- a/src/kbfxbutton.cpp +++ b/src/kbfxbutton.cpp @@ -93,7 +93,7 @@ void KbfxButton::loadSkins() m_pressed_skin = TQPixmap ( _tmpPressed ); m_current_skin = m_normal_skin; this->resize ( m_current_skin.width(),m_current_skin.height() ); - this->tqrepaint(); + this->repaint(); } TQCString KbfxButton::findPanel() @@ -344,7 +344,7 @@ void KbfxButton::paintEvent ( TQPaintEvent * pe ) m_buffer->resize ( r.size() ); m_buffer->fill ( this, r.topLeft() ); - p.tqbegin ( m_buffer,this ); + p.begin ( m_buffer,this ); p.translate ( -r.x(), -r.y() ); p.drawPixmap ( r,m_current_skin ); p.end (); diff --git a/src/kbfxplasmacanvasview.cpp b/src/kbfxplasmacanvasview.cpp index 0f1ce6b..10dde65 100644 --- a/src/kbfxplasmacanvasview.cpp +++ b/src/kbfxplasmacanvasview.cpp @@ -393,7 +393,7 @@ KbfxPlasmaCanvasView::handleLoadRequest ( KbfxSignal signal ) else canvas ()->resize ( v_stack->width (), this->visibleHeight () ); canvas()->update(); - tqrepaint(); + repaint(); // return; } else @@ -410,7 +410,7 @@ KbfxPlasmaCanvasView::handleLoadRequest ( KbfxSignal signal ) canvas ()->resize ( m_appletMap[signal.name () ]->width (), this->visibleHeight () ); canvas()->update(); - tqrepaint(); + repaint(); } } diff --git a/src/kbfxspinx.cpp b/src/kbfxspinx.cpp index 4510f38..e69a980 100644 --- a/src/kbfxspinx.cpp +++ b/src/kbfxspinx.cpp @@ -55,7 +55,7 @@ void KbfxSpinx::createKbfx() if ( ConfigInit ().m_KbfxMenuType == "kmenu" ) { kbfxBtn->show(); - kbfxBtn->tqrepaint(); + kbfxBtn->repaint(); } else { @@ -128,7 +128,7 @@ void KbfxSpinx::createRMenu() m_menuWidget = new KbfxSpinxMenuWidget ( m_menu,"KbfxSpinxMenu" ); m_menu->addItem ( m_menuWidget,0 ); kbfxBtn->show(); - kbfxBtn->tqrepaint(); + kbfxBtn->repaint(); menuPosition(); } @@ -201,7 +201,7 @@ void KbfxSpinx::showKmenu() } else { - TQCursor::setPos ( this->mapToGlobal ( this->tqgeometry ().bottomLeft () ) ); + TQCursor::setPos ( this->mapToGlobal ( this->geometry ().bottomLeft () ) ); } } else @@ -212,7 +212,7 @@ void KbfxSpinx::showKmenu() } else { - TQCursor::setPos ( this->mapToGlobal ( this->tqgeometry ().topRight () ) ); + TQCursor::setPos ( this->mapToGlobal ( this->geometry ().topRight () ) ); } } diff --git a/src/kbfxspinxtoolbutton.cpp b/src/kbfxspinxtoolbutton.cpp index 9f90102..37fcf53 100644 --- a/src/kbfxspinxtoolbutton.cpp +++ b/src/kbfxspinxtoolbutton.cpp @@ -92,7 +92,7 @@ KbfxSpinxToolButton::setPixmaps ( TQPixmap normal, TQPixmap hover ) m_current = m_normal; resize ( m_current.size () ); - this->tqrepaint(); + this->repaint(); this->update(); } diff --git a/src/kbfxspinxtop.cpp b/src/kbfxspinxtop.cpp index d2a651a..03e0234 100644 --- a/src/kbfxspinxtop.cpp +++ b/src/kbfxspinxtop.cpp @@ -94,7 +94,7 @@ KbfxSpinxTop::paintEvent ( TQPaintEvent * pe ) m_pixmapbuff->fill ( this, r->topLeft() ); TQPainter p; - p.tqbegin ( m_pixmapbuff,this ); + p.begin ( m_pixmapbuff,this ); // Draw commands are here p.drawPixmap ( *r,m_background ); p.setPen ( TQColor ( ConfigInit().m_userNameColor ) ); diff --git a/src/kbfxtooltip.cpp b/src/kbfxtooltip.cpp index d09c927..20c1d9d 100644 --- a/src/kbfxtooltip.cpp +++ b/src/kbfxtooltip.cpp @@ -118,7 +118,7 @@ KbfxToolTip::setAnimationImage ( TQString path ) _agent->setBackgroundPixmap ( agent_mask ); if ( agent_mask.mask () ) _agent->setMask ( *agent_mask.mask () ); - _agent->tqrepaint (); + _agent->repaint (); /*FIXME:Need to remove Hard Coded Values */ _agent->move ( 200, 0 ); @@ -181,7 +181,7 @@ KbfxToolTip::logoMove () if ( _logo_move_x < _bg.width () - 68 ) { _logo_move_x += 1; - _window->tqrepaint (); + _window->repaint (); p.begin ( _window ); p.drawPixmap ( TQRect ( _logo_move_x, 0, logo.width (), logo.height () ), @@ -200,7 +200,7 @@ KbfxToolTip::logoMove () _agent->setBackgroundPixmap ( agent_mask ); if ( agent_mask.mask () ) _agent->setMask ( *agent_mask.mask () ); - _agent->tqrepaint (); + _agent->repaint (); } void -- cgit v1.2.1