summaryrefslogtreecommitdiffstats
path: root/tdehtml/tdehtml_run.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 15:54:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 15:54:26 -0600
commit7427e438358d44c37e3c8b0a9cfbb225ffd60e79 (patch)
treed977f1d23d324f23aadee0ad50acb94d7436ba80 /tdehtml/tdehtml_run.cpp
parent72eecb041bf15bf64b748fc062d55f6ec860ac60 (diff)
downloadtdelibs-7427e438358d44c37e3c8b0a9cfbb225ffd60e79.tar.gz
tdelibs-7427e438358d44c37e3c8b0a9cfbb225ffd60e79.zip
Rename KHTML and kiobuffer
Diffstat (limited to 'tdehtml/tdehtml_run.cpp')
-rw-r--r--tdehtml/tdehtml_run.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tdehtml/tdehtml_run.cpp b/tdehtml/tdehtml_run.cpp
index 6ae958d67..2a5fd1861 100644
--- a/tdehtml/tdehtml_run.cpp
+++ b/tdehtml/tdehtml_run.cpp
@@ -28,7 +28,7 @@
#include "tdehtml_ext.h"
#include <tqwidget.h>
-KHTMLRun::KHTMLRun( KHTMLPart *part, tdehtml::ChildFrame *child, const KURL &url,
+TDEHTMLRun::TDEHTMLRun( TDEHTMLPart *part, tdehtml::ChildFrame *child, const KURL &url,
const KParts::URLArgs &args, bool hideErrorDialog )
: KParts::BrowserRun( url, args, part, part->widget() ? part->widget()->topLevelWidget() : 0,
false, false, hideErrorDialog ),
@@ -41,14 +41,14 @@ KHTMLRun::KHTMLRun( KHTMLPart *part, tdehtml::ChildFrame *child, const KURL &url
part->started(0L);
}
-//KHTMLPart *KHTMLRun::htmlPart() const
-//{ return static_cast<KHTMLPart *>(m_part); }
+//TDEHTMLPart *TDEHTMLRun::htmlPart() const
+//{ return static_cast<TDEHTMLPart *>(m_part); }
-void KHTMLRun::foundMimeType( const TQString &_type )
+void TDEHTMLRun::foundMimeType( const TQString &_type )
{
Q_ASSERT(!m_bFinished);
TQString mimeType = _type; // this ref comes from the job, we lose it when using KIO again
- if ( static_cast<KHTMLPart *>(m_part)->processObjectRequest( m_child, m_strURL, mimeType ) )
+ if ( static_cast<TDEHTMLPart *>(m_part)->processObjectRequest( m_child, m_strURL, mimeType ) )
m_bFinished = true;
else {
if ( m_bFinished ) // abort was called (this happens with the activex fallback for instance)
@@ -60,7 +60,7 @@ void KHTMLRun::foundMimeType( const TQString &_type )
m_bFinished = ( res == KParts::BrowserRun::Handled );
if ( m_bFinished ) { // saved or canceled -> flag completed
m_child->m_bCompleted = true;
- static_cast<KHTMLPart *>(m_part)->checkCompleted();
+ static_cast<TDEHTMLPart *>(m_part)->checkCompleted();
}
}
@@ -70,21 +70,21 @@ void KHTMLRun::foundMimeType( const TQString &_type )
return;
}
- //kdDebug(6050) << "KHTMLRun::foundMimeType " << _type << " couldn't open" << endl;
+ //kdDebug(6050) << "TDEHTMLRun::foundMimeType " << _type << " couldn't open" << endl;
KRun::foundMimeType( mimeType );
// "open" is finished -> flag completed
m_child->m_bCompleted = true;
- static_cast<KHTMLPart *>(m_part)->checkCompleted();
+ static_cast<TDEHTMLPart *>(m_part)->checkCompleted();
}
-void KHTMLRun::save( const KURL & url, const TQString & suggestedFilename )
+void TDEHTMLRun::save( const KURL & url, const TQString & suggestedFilename )
{
- KHTMLPopupGUIClient::saveURL( m_part->widget(), i18n( "Save As" ), url, m_args.metaData(), TQString::null, 0, suggestedFilename );
+ TDEHTMLPopupGUIClient::saveURL( m_part->widget(), i18n( "Save As" ), url, m_args.metaData(), TQString::null, 0, suggestedFilename );
}
// KDE4: remove
-void KHTMLRun::handleError( TDEIO::Job *job )
+void TDEHTMLRun::handleError( TDEIO::Job *job )
{
KParts::BrowserRun::handleError( job );
}