diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
commit | 703fb0c89c2eee56a1e613e67a446db9d4287929 (patch) | |
tree | dd8c5ca66075cd89c2638a2b48cf78386a9870a7 /kparts/part.cpp | |
parent | 818e7abec3d5d3809b6b77293558678371c16b71 (diff) | |
download | tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kparts/part.cpp')
-rw-r--r-- | kparts/part.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kparts/part.cpp b/kparts/part.cpp index 68e9dbbf2..b7bdc7cfa 100644 --- a/kparts/part.cpp +++ b/kparts/part.cpp @@ -289,8 +289,8 @@ public: { } - KIO::FileCopyJob * m_job; - KIO::FileCopyJob * m_uploadJob; + TDEIO::FileCopyJob * m_job; + TDEIO::FileCopyJob * m_uploadJob; KURL m_originalURL; // for saveAs TQString m_originalFilePath; // for saveAs bool m_showProgressInfo : 1; @@ -364,10 +364,10 @@ bool ReadOnlyPart::openURL( const KURL &url ) KURL destURL; destURL.setPath( m_file ); - d->m_job = KIO::file_copy( m_url, destURL, 0600, true, false, d->m_showProgressInfo ); + d->m_job = TDEIO::file_copy( m_url, destURL, 0600, true, false, d->m_showProgressInfo ); d->m_job->setWindow( widget() ? widget()->topLevelWidget() : 0 ); emit started( d->m_job ); - connect( d->m_job, TQT_SIGNAL( result( KIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( KIO::Job * ) ) ); + connect( d->m_job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( TDEIO::Job * ) ) ); return true; } } @@ -397,7 +397,7 @@ bool ReadOnlyPart::closeURL() return true; } -void ReadOnlyPart::slotJobFinished( KIO::Job * job ) +void ReadOnlyPart::slotJobFinished( TDEIO::Job * job ) { kdDebug(1000) << "ReadOnlyPart::slotJobFinished" << endl; assert( job == d->m_job ); @@ -637,14 +637,14 @@ bool ReadWritePart::saveToURL() // Uh oh, some error happened. return false; } - d->m_uploadJob = KIO::file_move( uploadUrl, m_url, -1, true /*overwrite*/ ); + d->m_uploadJob = TDEIO::file_move( uploadUrl, m_url, -1, true /*overwrite*/ ); d->m_uploadJob->setWindow( widget() ? widget()->topLevelWidget() : 0 ); - connect( d->m_uploadJob, TQT_SIGNAL( result( KIO::Job * ) ), this, TQT_SLOT( slotUploadFinished (KIO::Job *) ) ); + connect( d->m_uploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotUploadFinished (TDEIO::Job *) ) ); return true; } } -void ReadWritePart::slotUploadFinished( KIO::Job * ) +void ReadWritePart::slotUploadFinished( TDEIO::Job * ) { if (d->m_uploadJob->error()) { |