diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/filehtmlwriter.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/filehtmlwriter.cpp')
-rw-r--r-- | kmail/filehtmlwriter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/filehtmlwriter.cpp b/kmail/filehtmlwriter.cpp index 28e1b758a..7e937c462 100644 --- a/kmail/filehtmlwriter.cpp +++ b/kmail/filehtmlwriter.cpp @@ -40,11 +40,11 @@ namespace KMail { - FileHtmlWriter::FileHtmlWriter( const QString & filename ) + FileHtmlWriter::FileHtmlWriter( const TQString & filename ) : HtmlWriter(), - mFile( filename.isEmpty() ? QString( "filehtmlwriter.out" ) : filename ) + mFile( filename.isEmpty() ? TQString( "filehtmlwriter.out" ) : filename ) { - mStream.setEncoding( QTextStream::UnicodeUTF8 ); + mStream.setEncoding( TQTextStream::UnicodeUTF8 ); } FileHtmlWriter::~FileHtmlWriter() { @@ -55,7 +55,7 @@ namespace KMail { } } - void FileHtmlWriter::begin( const QString & css ) { + void FileHtmlWriter::begin( const TQString & css ) { openOrWarn(); if ( !css.isEmpty() ) write( "<!-- CSS Definitions \n" + css + "-->\n" ); @@ -74,12 +74,12 @@ namespace KMail { } } - void FileHtmlWriter::write( const QString & str ) { + void FileHtmlWriter::write( const TQString & str ) { mStream << str; flush(); } - void FileHtmlWriter::queue( const QString & str ) { + void FileHtmlWriter::queue( const TQString & str ) { write( str ); } @@ -99,7 +99,7 @@ namespace KMail { mStream.setDevice( &mFile ); } - void FileHtmlWriter::embedPart( const QCString & contentId, const QString & url ) { + void FileHtmlWriter::embedPart( const TQCString & contentId, const TQString & url ) { mStream << "<!-- embedPart(contentID=" << contentId << ", url=" << url << ") -->" << endl; flush(); } |