diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:44 -0600 |
commit | 9b21afd056f51a1dba015292a5472a146de967bd (patch) | |
tree | 0c642c457dea43eb9af17b865bad4dbc43f9fc57 /src/part/radialMap/widgetEvents.cpp | |
parent | 5f20b2e679037af4b18ac901bdf78a08e5c0da39 (diff) | |
download | filelight-9b21afd056f51a1dba015292a5472a146de967bd.tar.gz filelight-9b21afd056f51a1dba015292a5472a146de967bd.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5f20b2e679037af4b18ac901bdf78a08e5c0da39.
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 2f0e4c9..4152098 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 <clipboard.h> +#include <tqclipboard.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() ); - //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( "<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.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 ); } |