diff options
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 ); } |