diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QSimpleRichText.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSimpleRichText.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSimpleRichText.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSimpleRichText.java b/qtjava/javalib/org/kde/qt/QSimpleRichText.java index f78a785d..51fad3c8 100644 --- a/qtjava/javalib/org/kde/qt/QSimpleRichText.java +++ b/qtjava/javalib/org/kde/qt/QSimpleRichText.java @@ -3,53 +3,53 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSimpleRichText implements QtSupport { +public class TQSimpleRichText implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSimpleRichText(Class dummy){} + protected TQSimpleRichText(Class dummy){} - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet) { - newQSimpleRichText(text,fnt,context,sheet); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) { + newTQSimpleRichText(text,fnt,context,sheet); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet); - public QSimpleRichText(String text, QFont fnt, String context) { - newQSimpleRichText(text,fnt,context); + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet); + public TQSimpleRichText(String text, TQFont fnt, String context) { + newTQSimpleRichText(text,fnt,context); } - private native void newQSimpleRichText(String text, QFont fnt, String context); - public QSimpleRichText(String text, QFont fnt) { - newQSimpleRichText(text,fnt); + private native void newTQSimpleRichText(String text, TQFont fnt, String context); + public TQSimpleRichText(String text, TQFont fnt) { + newTQSimpleRichText(text,fnt); } - private native void newQSimpleRichText(String text, QFont fnt); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline) { - newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); + private native void newTQSimpleRichText(String text, TQFont fnt); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor) { - newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor); + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak) { - newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory) { - newQSimpleRichText(text,fnt,context,sheet,factory); + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory) { + newTQSimpleRichText(text,fnt,context,sheet,factory); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory); + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory); public native void setWidth(int arg1); - public native void setWidth(QPainter arg1, int arg2); - public native void setDefaultFont(QFont f); + public native void setWidth(TQPainter arg1, int arg2); + public native void setDefaultFont(TQFont f); public native int width(); public native int widthUsed(); public native int height(); public native void adjustSize(); - public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg, QBrush paper); - public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg); - public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg, QBrush paper); - public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg); public native String context(); - public native String anchorAt(QPoint pos); - public native boolean inText(QPoint pos); + public native String anchorAt(TQPoint pos); + public native boolean inText(TQPoint pos); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |