summaryrefslogtreecommitdiffstats
path: root/kmail/khtmlparthtmlwriter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/khtmlparthtmlwriter.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()