From 9b21afd056f51a1dba015292a5472a146de967bd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:55:44 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 5f20b2e679037af4b18ac901bdf78a08e5c0da39. --- 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 2f0e4c9..4152098 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() ); - //repaint required to update labels now before transparency is generated - repaint( false ); + //tqrepaint required to update labels now before transparency is generated + tqrepaint( 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\"" ).arg( url.url() ) ); + KRun::runCommand( TQString( "kfmclient openURL \"%1\"" ).tqarg( url.url() ) ); break; case Konsole: // --workdir only works for local file paths - KRun::runCommand( TQString( "konsole --workdir \"%1\"" ).arg( url.path() ) ); + KRun::runCommand( TQString( "konsole --workdir \"%1\"" ).tqarg( url.path() ) ); break; case Center: @@ -197,7 +197,7 @@ RadialMap::Widget::mousePressEvent( TQMouseEvent *e ) goto section_two; case Copy: - TQApplication::clipboard()->setData( new KURLDrag( KURL::List( url ) ) ); + TQApplication::tqclipboard()->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.arg( url.prettyURL() ), + this, message.tqarg( 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() ) - invalidate(); + tqinvalidate(); else job->showErrorDialog( this ); } -- cgit v1.2.1