//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQColor; import org.kde.qt.TQTextEdit; import org.kde.qt.QtSupport; import org.kde.qt.TQSyntaxHighlighter; /** \brief Syntax sensitive text highlighter @short \brief Syntax sensitive text highlighter */ 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(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(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(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(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(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(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0); public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting); } private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting); public KSyntaxHighlighter(TQTextEdit textEdit) { super((Class) null); newKSyntaxHighlighter(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; /** Delete the wrapped C++ instance ahead of finalize() */ public native void dispose(); /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); }