diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
commit | 4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch) | |
tree | c9726401d4eeb6fff8e78c4e35facb644c417e77 /ark/ark_part.cpp | |
parent | aef5eada7f51ee48f3d21448db290bd8f06953a8 (diff) | |
download | tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ark/ark_part.cpp')
-rw-r--r-- | ark/ark_part.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ark/ark_part.cpp b/ark/ark_part.cpp index 77d329b..afd416f 100644 --- a/ark/ark_part.cpp +++ b/ark/ark_part.cpp @@ -102,7 +102,7 @@ ArkPart::ArkPart( TQWidget *parentWidget, const char * /*widgetName*/, TQObject TQT_SLOT( slotSetBusy( const TQString & ) ) ); connect( awidget, TQT_SIGNAL( setReady() ), m_bar, TQT_SLOT( slotSetReady() ) ); - connect( this, TQT_SIGNAL( started(KIO::Job*) ), TQT_SLOT( transferStarted(KIO::Job*) ) ); + connect( this, TQT_SIGNAL( started(TDEIO::Job*) ), TQT_SLOT( transferStarted(TDEIO::Job*) ) ); connect( this, TQT_SIGNAL( completed() ), TQT_SLOT( transferCompleted() ) ); connect( this, TQT_SIGNAL( canceled(const TQString&) ), TQT_SLOT( transferCanceled(const TQString&) ) ); @@ -246,7 +246,7 @@ void ArkPart::disableActions() bool ArkPart::openURL( const KURL & url ) { awidget->setRealURL( url ); - return KParts::ReadWritePart::openURL( KIO::NetAccess::mostLocalURL( url, awidget ) ); + return KParts::ReadWritePart::openURL( TDEIO::NetAccess::mostLocalURL( url, awidget ) ); } bool ArkPart::openFile() @@ -322,7 +322,7 @@ void ArkPart::slotFilePopup( const TQPoint &pPoint ) static_cast<KPopupMenu *>(factory()->container("file_popup", this))->popup(pPoint); } -void ArkPart::transferStarted( KIO::Job *job ) +void ArkPart::transferStarted( TDEIO::Job *job ) { m_job = job; @@ -332,8 +332,8 @@ void ArkPart::transferStarted( KIO::Job *job ) if ( job ) { disableActions(); - connect( job, TQT_SIGNAL( percent(KIO::Job*, unsigned long) ), - TQT_SLOT( progressInformation(KIO::Job*, unsigned long) ) ); + connect( job, TQT_SIGNAL( percent(TDEIO::Job*, unsigned long) ), + TQT_SLOT( progressInformation(TDEIO::Job*, unsigned long) ) ); connect( m_bar->cancelButton(), TQT_SIGNAL( clicked() ), TQT_SLOT( cancelTransfer() ) ); } @@ -343,8 +343,8 @@ void ArkPart::transferCompleted() { if ( m_job ) { - disconnect( m_job, TQT_SIGNAL( percent(KIO::Job*, unsigned long) ), - this, TQT_SLOT( progressInformation(KIO::Job*, unsigned long) ) ); + disconnect( m_job, TQT_SIGNAL( percent(TDEIO::Job*, unsigned long) ), + this, TQT_SLOT( progressInformation(TDEIO::Job*, unsigned long) ) ); m_job = 0; } @@ -362,7 +362,7 @@ void ArkPart::transferCanceled( const TQString& errMsg ) m_bar->slotSetReady(); } -void ArkPart::progressInformation( KIO::Job *, unsigned long progress ) +void ArkPart::progressInformation( TDEIO::Job *, unsigned long progress ) { m_bar->setProgress( progress ); } |