diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
commit | f21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch) | |
tree | 78ccb5117063da3e08e3277e11054b912a9f2ae7 /filesharing/advanced/kcm_sambaconf/sambafile.cpp | |
parent | c48e769eb275917717e2b55eb869f7e559293ac8 (diff) | |
download | tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/sambafile.cpp')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/sambafile.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/sambafile.cpp b/filesharing/advanced/kcm_sambaconf/sambafile.cpp index 3a865c62..6252209e 100644 --- a/filesharing/advanced/kcm_sambaconf/sambafile.cpp +++ b/filesharing/advanced/kcm_sambaconf/sambafile.cpp @@ -199,9 +199,9 @@ bool SambaFile::slotApply() KURL srcURL; srcURL.setPath( _tempFile->name() ); - KIO::FileCopyJob * job = KIO::file_copy( srcURL, url, -1, true ); - connect( job, TQT_SIGNAL( result( KIO::Job * ) ), - this, TQT_SLOT( slotSaveJobFinished ( KIO::Job * ) ) ); + TDEIO::FileCopyJob * job = TDEIO::file_copy( srcURL, url, -1, true ); + connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), + this, TQT_SLOT( slotSaveJobFinished ( TDEIO::Job * ) ) ); return (job->error()==0); } @@ -459,12 +459,12 @@ TQString SambaFile::findSambaConf() return KSambaShare::instance()->smbConfPath(); } -void SambaFile::slotSaveJobFinished( KIO::Job * job ) { +void SambaFile::slotSaveJobFinished( TDEIO::Job * job ) { delete _tempFile; _tempFile = 0; } -void SambaFile::slotJobFinished( KIO::Job * job ) +void SambaFile::slotJobFinished( TDEIO::Job * job ) { if (job->error()) emit canceled( job->errorString() ); @@ -488,9 +488,9 @@ bool SambaFile::load() localPath = tempFile.name(); KURL destURL; destURL.setPath( localPath ); - KIO::FileCopyJob * job = KIO::file_copy( url, destURL, 0600, true, false, true ); + TDEIO::FileCopyJob * job = TDEIO::file_copy( url, destURL, 0600, true, false, true ); // emit started( d->m_job ); - connect( job, TQT_SIGNAL( result( KIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( KIO::Job * ) ) ); + connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( TDEIO::Job * ) ) ); return true; } else { localPath = path; |