diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:29:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:29:39 -0600 |
commit | 5f20b2e679037af4b18ac901bdf78a08e5c0da39 (patch) | |
tree | 85503439e6090826541332cbdd806bd7da85312a /src/part/radialMap/widgetEvents.cpp | |
parent | 8752fee06412044074a3e96e74d1fbe28fcd41ba (diff) | |
download | filelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.tar.gz filelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/part/radialMap/widgetEvents.cpp')
-rw-r--r-- | src/part/radialMap/widgetEvents.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <krun.h> //::mousePressEvent() #include <kurldrag.h> #include <tqapplication.h>//TQApplication::setOverrideCursor() -#include <tqclipboard.h> +#include <clipboard.h> #include <tqpainter.h> #include <tqtimer.h> //::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( "<qt>The directory at <i>'%1'</i> will be <b>recursively</b> and <b>permanently</b> deleted." ) : i18n( "<qt><i>'%1'</i> will be <b>permanently</b> 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 ); } |