diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSyntaxHighlighter.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KSyntaxHighlighter.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java b/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java index 033e866a..682cb4f8 100644 --- a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java +++ b/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QTextEdit; +import org.kde.qt.TQColor; +import org.kde.qt.TQTextEdit; import org.kde.qt.QtSupport; -import org.kde.qt.QSyntaxHighlighter; +import org.kde.qt.TQSyntaxHighlighter; /** @@ -13,46 +13,46 @@ import org.kde.qt.QSyntaxHighlighter; @short \brief Syntax sensitive text highlighter */ -public class KSyntaxHighlighter extends QSyntaxHighlighter { +public class KSyntaxHighlighter extends TQSyntaxHighlighter { protected KSyntaxHighlighter(Class dummy){super((Class) null);} public static final int PlainTextMode = 0; public static final int RichTextMode = 1; - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode) { + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3,mode); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting); - public KSyntaxHighlighter(QTextEdit textEdit) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting); + public KSyntaxHighlighter(TQTextEdit textEdit) { super((Class) null); newKSyntaxHighlighter(textEdit); } - private native void newKSyntaxHighlighter(QTextEdit textEdit); + private native void newKSyntaxHighlighter(TQTextEdit textEdit); public native int highlightParagraph(String text, int endStateOfLastPara); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; |