From 5f20b2e679037af4b18ac901bdf78a08e5c0da39 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:39 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/part/radialMap/widgetEvents.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/part/radialMap/widgetEvents.cpp') diff --git a/src/part/radialMap/widgetEvents.cpp b/src/part/radialMap/widgetEvents.cpp index 4152098..2f0e4c9 100644 --- a/src/part/radialMap/widgetEvents.cpp +++ b/src/part/radialMap/widgetEvents.cpp @@ -16,7 +16,7 @@ #include //::mousePressEvent() #include #include //TQApplication::setOverrideCursor() -#include +#include #include #include //::resizeEvent() @@ -127,8 +127,8 @@ RadialMap::Widget::mouseMoveEvent( TQMouseEvent *e ) m_tip->updateTip( m_focus->file(), m_tree ); emit mouseHover( m_focus->file()->fullPath() ); - //tqrepaint required to update labels now before transparency is generated - tqrepaint( false ); + //repaint required to update labels now before transparency is generated + repaint( false ); } m_tip->moveTo( e->globalPos(), *this, ( p.y() < 0 ) ); //updates tooltip psuedo-tranparent background @@ -184,12 +184,12 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) switch (popup.exec( e->globalPos(), 1 )) { case Konqueror: //KRun::runCommand will show an error message if there was trouble - KRun::runCommand( TQString( "kfmclient openURL \"%1\"" ).tqarg( url.url() ) ); + KRun::runCommand( TQString( "kfmclient openURL \"%1\"" ).arg( url.url() ) ); break; case Konsole: // --workdir only works for local file paths - KRun::runCommand( TQString( "konsole --workdir \"%1\"" ).tqarg( url.path() ) ); + KRun::runCommand( TQString( "konsole --workdir \"%1\"" ).arg( url.path() ) ); break; case Center: @@ -197,7 +197,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) goto section_two; case Copy: - TQApplication::tqclipboard()->setData( new KURLDrag( KURL::List( url ) ) ); + TQApplication::clipboard()->setData( new KURLDrag( KURL::List( url ) ) ); break; case Delete: @@ -207,7 +207,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) ? i18n( "The directory at '%1' will be recursively and permanently deleted." ) : i18n( "'%1' will be permanently deleted." ); const int userIntention = KMessageBox::warningContinueCancel( - this, message.tqarg( url.prettyURL() ), + this, message.arg( url.prettyURL() ), TQString(), KGuiItem( i18n("&Delete"), "editdelete" ) ); if (userIntention == KMessageBox::Continue) { @@ -250,7 +250,7 @@ RadialMap::Widget::deleteJobFinished( KIO::Job *job ) { TQApplication::restoreOverrideCursor(); if( !job->error() ) - tqinvalidate(); + invalidate(); else job->showErrorDialog( this ); } -- cgit v1.2.1