summaryrefslogtreecommitdiffstats
path: root/kmail/filehtmlwriter.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/filehtmlwriter.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/filehtmlwriter.cpp')
-rw-r--r--kmail/filehtmlwriter.cpp14
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();
}