summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_xdiff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_xdiff.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_xdiff.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/kmail/bodypartformatter/text_xdiff.cpp b/plugins/kmail/bodypartformatter/text_xdiff.cpp
index ada37be8..87988840 100644
--- a/plugins/kmail/bodypartformatter/text_xdiff.cpp
+++ b/plugins/kmail/bodypartformatter/text_xdiff.cpp
@@ -47,10 +47,10 @@
#include <kstandarddirs.h>
#include <kapplication.h>
-#include <qurl.h>
-#include <qfile.h>
-#include <qdir.h>
-#include <qstylesheet.h>
+#include <tqurl.h>
+#include <tqfile.h>
+#include <tqdir.h>
+#include <tqstylesheet.h>
namespace {
@@ -66,40 +66,40 @@ namespace {
if ( bodyPart->defaultDisplay() == KMail::Interface::BodyPart::AsIcon )
return AsIcon;
- const QString diff = bodyPart->asText();
+ const TQString diff = bodyPart->asText();
if ( diff.isEmpty() ) return AsIcon;
- QString addedLineStyle = QString::fromLatin1(
+ TQString addedLineStyle = TQString::fromLatin1(
"style=\""
"color: green;\"");
- QString fileAddStyle( "style=\"font-weight: bold; "
+ TQString fileAddStyle( "style=\"font-weight: bold; "
"color: green; \"" );
- QString removedLineStyle = QString::fromLatin1(
+ TQString removedLineStyle = TQString::fromLatin1(
"style=\""
"color: red;\"");
- QString fileRemoveStyle( "style=\"font-weight: bold; "
+ TQString fileRemoveStyle( "style=\"font-weight: bold; "
"color: red ;\"" );
- QString tableStyle = QString::fromLatin1(
+ TQString tableStyle = TQString::fromLatin1(
"style=\""
"text-align: -khtml-auto; "
"border: solid black 1px; "
"padding: 0.5em; "
"margin: 0em;\"");
- QString sepStyle( "style=\"color: black; font-weight: bold;\"" );
- QString chunkStyle( "style=\"color: blue;\"" );
+ TQString sepStyle( "style=\"color: black; font-weight: bold;\"" );
+ TQString chunkStyle( "style=\"color: blue;\"" );
- QString html = "<br><div align=\"center\">";
+ TQString html = "<br><div align=\"center\">";
html += "<pre " + tableStyle + ">";
- QStringList lines = QStringList::split( '\n', diff, true );
- for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) {
- QString line( QStyleSheet::escape( *it ) );
- QString style;
+ TQStringList lines = TQStringList::split( '\n', diff, true );
+ for ( TQStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) {
+ TQString line( TQStyleSheet::escape( *it ) );
+ TQString style;
if ( line.length() > 0 ) {
if ( line.startsWith( "+++" ) ) {
style = fileAddStyle;