summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_run.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /konqueror/konq_run.cc
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konqueror/konq_run.cc')
-rw-r--r--konqueror/konq_run.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/konqueror/konq_run.cc b/konqueror/konq_run.cc
index a23513bd0..f5e10897c 100644
--- a/konqueror/konq_run.cc
+++ b/konqueror/konq_run.cc
@@ -130,7 +130,7 @@ void KonqRun::foundMimeType( const TQString & _type )
KRun::foundMimeType( mimeType );
}
-void KonqRun::handleError( KIO::Job *job )
+void KonqRun::handleError( TDEIO::Job *job )
{
kdDebug(1202) << "KonqRun::handleError error:" << job->errorString() << endl;
if (!m_mailto.isEmpty())
@@ -148,10 +148,10 @@ void KonqRun::init()
KParts::BrowserRun::init();
// Maybe init went to the "let's try stat'ing" part. Then connect to info messages.
// (in case it goes to scanFile, this will be done below)
- KIO::StatJob *job = tqt_dynamic_cast<KIO::StatJob*>( m_job );
+ TDEIO::StatJob *job = tqt_dynamic_cast<TDEIO::StatJob*>( m_job );
if ( job && !job->error() && m_pView ) {
- connect( job, TQT_SIGNAL( infoMessage( KIO::Job*, const TQString& ) ),
- m_pView, TQT_SLOT( slotInfoMessage(KIO::Job*, const TQString& ) ) );
+ connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ m_pView, TQT_SLOT( slotInfoMessage(TDEIO::Job*, const TQString& ) ) );
}
}
@@ -160,20 +160,20 @@ void KonqRun::scanFile()
KParts::BrowserRun::scanFile();
// could be a static cast as of now, but who would notify when
// BrowserRun changes
- KIO::TransferJob *job = tqt_dynamic_cast<KIO::TransferJob*>( m_job );
+ TDEIO::TransferJob *job = tqt_dynamic_cast<TDEIO::TransferJob*>( m_job );
if ( job && !job->error() ) {
- connect( job, TQT_SIGNAL( redirection( KIO::Job *, const KURL& )),
- TQT_SLOT( slotRedirection( KIO::Job *, const KURL& ) ));
+ connect( job, TQT_SIGNAL( redirection( TDEIO::Job *, const KURL& )),
+ TQT_SLOT( slotRedirection( TDEIO::Job *, const KURL& ) ));
if ( m_pView && m_pView->service()->desktopEntryName() != "konq_sidebartng") {
- connect( job, TQT_SIGNAL( infoMessage( KIO::Job*, const TQString& ) ),
- m_pView, TQT_SLOT( slotInfoMessage(KIO::Job*, const TQString& ) ) );
+ connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ m_pView, TQT_SLOT( slotInfoMessage(TDEIO::Job*, const TQString& ) ) );
}
}
}
-void KonqRun::slotRedirection( KIO::Job *job, const KURL& redirectedToURL )
+void KonqRun::slotRedirection( TDEIO::Job *job, const KURL& redirectedToURL )
{
- KURL redirectFromURL = static_cast<KIO::TransferJob *>(job)->url();
+ KURL redirectFromURL = static_cast<TDEIO::TransferJob *>(job)->url();
kdDebug(1202) << "KonqRun::slotRedirection from " <<
redirectFromURL.prettyURL() << " to " << redirectedToURL.prettyURL() << endl;
KonqHistoryManager::kself()->confirmPending( redirectFromURL );