summaryrefslogtreecommitdiffstats
path: root/kmail/filehtmlwriter.cpp
diff options
context:
space:
mode:
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();
}