diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/ksvnwidgets/diffsyntax.h | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/ksvnwidgets/diffsyntax.h')
-rw-r--r-- | src/ksvnwidgets/diffsyntax.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ksvnwidgets/diffsyntax.h b/src/ksvnwidgets/diffsyntax.h index 1c1f779..9d14a51 100644 --- a/src/ksvnwidgets/diffsyntax.h +++ b/src/ksvnwidgets/diffsyntax.h @@ -20,19 +20,19 @@ #ifndef _DIFFSYNTAX_H #define _DIFFSYNTAX_H -#include <qsyntaxhighlighter.h> -#include <qregexp.h> -#include <qfont.h> +#include <tqsyntaxhighlighter.h> +#include <tqregexp.h> +#include <tqfont.h> -class QTextEdit; -class QString; -class QColor; +class TQTextEdit; +class TQString; +class TQColor; -class DiffSyntax : public QSyntaxHighlighter +class DiffSyntax : public TQSyntaxHighlighter { public: - DiffSyntax(QTextEdit*); - virtual int highlightParagraph ( const QString & text, int endStateOfLastPara ); + DiffSyntax(TQTextEdit*); + virtual int highlightParagraph ( const TQString & text, int endStateOfLastPara ); virtual ~DiffSyntax(); }; |