summaryrefslogtreecommitdiffstats
path: root/kmail/khtmlparthtmlwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/khtmlparthtmlwriter.cpp')
-rw-r--r--kmail/khtmlparthtmlwriter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/khtmlparthtmlwriter.cpp b/kmail/khtmlparthtmlwriter.cpp
index 643d743c2..dfc9fd358 100644
--- a/kmail/khtmlparthtmlwriter.cpp
+++ b/kmail/khtmlparthtmlwriter.cpp
@@ -47,19 +47,19 @@
namespace KMail {
KHtmlPartHtmlWriter::KHtmlPartHtmlWriter( KHTMLPart * part,
- QObject * parent, const char * name )
- : QObject( parent, name ), HtmlWriter(),
+ TQObject * parent, const char * name )
+ : TQObject( parent, name ), HtmlWriter(),
mHtmlPart( part ), mState( Ended ), mHtmlTimer( 0, "mHtmlTimer" )
{
assert( part );
- connect( &mHtmlTimer, SIGNAL(timeout()), SLOT(slotWriteNextHtmlChunk()) );
+ connect( &mHtmlTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotWriteNextHtmlChunk()) );
}
KHtmlPartHtmlWriter::~KHtmlPartHtmlWriter() {
}
- void KHtmlPartHtmlWriter::begin( const QString & css ) {
+ void KHtmlPartHtmlWriter::begin( const TQString & css ) {
if ( mState != Ended ) {
kdWarning( 5006 ) << "KHtmlPartHtmlWriter: begin() called on non-ended session!" << endl;
reset();
@@ -70,7 +70,7 @@ namespace KMail {
// clear the widget:
mHtmlPart->view()->setUpdatesEnabled( false );
mHtmlPart->view()->viewport()->setUpdatesEnabled( false );
- static_cast<QScrollView *>(mHtmlPart->widget())->ensureVisible( 0, 0 );
+ static_cast<TQScrollView *>(mHtmlPart->widget())->ensureVisible( 0, 0 );
mHtmlPart->begin( KURL( "file:/" ) );
if ( !css.isEmpty() )
@@ -100,12 +100,12 @@ namespace KMail {
mState = Ended;
}
- void KHtmlPartHtmlWriter::write( const QString & str ) {
+ void KHtmlPartHtmlWriter::write( const TQString & str ) {
kdWarning( mState != Begun, 5006 ) << "KHtmlPartHtmlWriter: write() called in Ended or Queued state!" << endl;
mHtmlPart->write( str );
}
- void KHtmlPartHtmlWriter::queue( const QString & str ) {
+ void KHtmlPartHtmlWriter::queue( const TQString & str ) {
static const uint chunksize = 16384;
for ( uint pos = 0 ; pos < str.length() ; pos += chunksize )
mHtmlQueue.push_back( str.mid( pos, chunksize ) );
@@ -127,9 +127,9 @@ namespace KMail {
}
}
- void KHtmlPartHtmlWriter::embedPart( const QCString & contentId,
- const QString & contentURL ) {
- mEmbeddedPartMap[QString(contentId)] = contentURL;
+ void KHtmlPartHtmlWriter::embedPart( const TQCString & contentId,
+ const TQString & contentURL ) {
+ mEmbeddedPartMap[TQString(contentId)] = contentURL;
}
void KHtmlPartHtmlWriter::resolveCidUrls()