diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 15:54:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 15:54:26 -0600 |
commit | 7427e438358d44c37e3c8b0a9cfbb225ffd60e79 (patch) | |
tree | d977f1d23d324f23aadee0ad50acb94d7436ba80 /tdehtml/tdemultipart | |
parent | 72eecb041bf15bf64b748fc062d55f6ec860ac60 (diff) | |
download | tdelibs-7427e438358d44c37e3c8b0a9cfbb225ffd60e79.tar.gz tdelibs-7427e438358d44c37e3c8b0a9cfbb225ffd60e79.zip |
Rename KHTML and kiobuffer
Diffstat (limited to 'tdehtml/tdemultipart')
-rw-r--r-- | tdehtml/tdemultipart/README | 6 | ||||
-rw-r--r-- | tdehtml/tdemultipart/tdemultipart.cpp | 14 | ||||
-rw-r--r-- | tdehtml/tdemultipart/tdemultipart.h | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/tdehtml/tdemultipart/README b/tdehtml/tdemultipart/README index c8a342d68..0fd6eb306 100644 --- a/tdehtml/tdemultipart/README +++ b/tdehtml/tdemultipart/README @@ -1,4 +1,4 @@ -KMultiPart implements "server push" for KHTML/Konqueror: +KMultiPart implements "server push" for TDEHTML/Konqueror: it handles the multipart/mixed and multipart/x-mixed-replace mimetype, embedding the appropriate component (part). @@ -11,6 +11,6 @@ Testcases: TODO: * Use the new streaming API of KParts to pipe data into the part, -the current code does that for KHTML only. -* Change KHTML so that it embeds KMultiPart for images which send multipart/x-mixed-replace +the current code does that for TDEHTML only. +* Change TDEHTML so that it embeds KMultiPart for images which send multipart/x-mixed-replace data. diff --git a/tdehtml/tdemultipart/tdemultipart.cpp b/tdehtml/tdemultipart/tdemultipart.cpp index 82e94a4c0..ac0c67b53 100644 --- a/tdehtml/tdemultipart/tdemultipart.cpp +++ b/tdehtml/tdemultipart/tdemultipart.cpp @@ -334,7 +334,7 @@ void KMultiPart::setPart( const TQString& mimeType ) { // Forward signals from the part's browser extension - // this is very related (but not exactly like) KHTMLPart::processObjectRequest + // this is very related (but not exactly like) TDEHTMLPart::processObjectRequest connect( childExtension, TQT_SIGNAL( openURLNotify() ), m_extension, TQT_SIGNAL( openURLNotify() ) ); @@ -396,7 +396,7 @@ void KMultiPart::setPart( const TQString& mimeType ) m_partIsLoading = false; // Load the part's plugins too. - // ###### This is a hack. The bug is that KHTMLPart doesn't load its plugins + // ###### This is a hack. The bug is that TDEHTMLPart doesn't load its plugins // if className != "Browser/View". loadPlugins( this, m_part, m_part->instance() ); // Get the part's GUI to appear @@ -437,7 +437,7 @@ void KMultiPart::startOfData() } if ( m_isHTMLPart ) { - KHTMLPart* htmlPart = static_cast<KHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); + TDEHTMLPart* htmlPart = static_cast<TDEHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); htmlPart->begin( url() ); } else @@ -463,7 +463,7 @@ void KMultiPart::reallySendData( const TQByteArray& line ) { if ( m_isHTMLPart ) { - KHTMLPart* htmlPart = static_cast<KHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); + TDEHTMLPart* htmlPart = static_cast<TDEHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); htmlPart->write( line.data(), line.size() ); } else if ( m_tempFile ) @@ -477,7 +477,7 @@ void KMultiPart::endOfData() Q_ASSERT( m_part ); if ( m_isHTMLPart ) { - KHTMLPart* htmlPart = static_cast<KHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); + TDEHTMLPart* htmlPart = static_cast<TDEHTMLPart *>( static_cast<KParts::ReadOnlyPart *>( m_part ) ); htmlPart->end(); } else if ( m_tempFile ) { @@ -600,12 +600,12 @@ int KMultiPartBrowserExtension::yOffset() void KMultiPartBrowserExtension::print() { - static_cast<KHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->print(); + static_cast<TDEHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->print(); } void KMultiPartBrowserExtension::reparseConfiguration() { - static_cast<KHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->reparseConfiguration(); + static_cast<TDEHTMLPartBrowserExtension *>( m_imgPart->doc()->browserExtension() )->reparseConfiguration(); m_imgPart->doc()->setAutoloadImages( true ); } #endif diff --git a/tdehtml/tdemultipart/tdemultipart.h b/tdehtml/tdemultipart/tdemultipart.h index e4add0816..776584c91 100644 --- a/tdehtml/tdemultipart/tdemultipart.h +++ b/tdehtml/tdemultipart/tdemultipart.h @@ -28,7 +28,7 @@ #include <kaboutdata.h> #include <tqdatetime.h> -class KHTMLPart; +class TDEHTMLPart; class TDEInstance; class KTempFile; class KLineParser; |