summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QSimpleRichText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QSimpleRichText.cpp')
-rw-r--r--qtjava/javalib/qtjava/QSimpleRichText.cpp112
1 files changed, 56 insertions, 56 deletions
diff --git a/qtjava/javalib/qtjava/QSimpleRichText.cpp b/qtjava/javalib/qtjava/QSimpleRichText.cpp
index e03799cb..3bb336b6 100644
--- a/qtjava/javalib/qtjava/QSimpleRichText.cpp
+++ b/qtjava/javalib/qtjava/QSimpleRichText.cpp
@@ -9,42 +9,42 @@
#include <tqcolor.h>
#include <qtjava/QtSupport.h>
-#include <qtjava/QSimpleRichText.h>
+#include <qtjava/TQSimpleRichText.h>
-class QSimpleRichTextJBridge : public QSimpleRichText
+class TQSimpleRichTextJBridge : public TQSimpleRichText
{
public:
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4) : TQSimpleRichText(arg1,arg2,arg3,arg4) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3) : TQSimpleRichText(arg1,arg2,arg3) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2) : TQSimpleRichText(arg1,arg2) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7,bool arg8) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6,const TQColor& arg7) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {};
- QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5) {};
- ~QSimpleRichTextJBridge() {QtSupport::qtKeyDeleted(this);}
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4) : TTQSimpleRichText(arg1,arg2,arg3,arg4) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3) : TTQSimpleRichText(arg1,arg2,arg3) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2) : TTQSimpleRichText(arg1,arg2) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6,const TTQColor& arg7,bool arg8) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6,const TTQColor& arg7) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {};
+ TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5) {};
+ ~TQSimpleRichTextJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_adjustSize(JNIEnv* env, jobject obj)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->adjustSize();
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->adjustSize();
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSimpleRichText_anchorAt(JNIEnv* env, jobject obj, jobject pos)
{
- TQString _qstring;
- _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos));
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSimpleRichText_context(JNIEnv* env, jobject obj)
{
- TQString _qstring;
- _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->context();
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->context();
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
@@ -57,28 +57,28 @@ Java_org_kde_qt_QSimpleRichText_dispose(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, clipRect), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRect, jobject cg, jobject paper)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, clipRect), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper));
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, clipRect), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQBrush*) QtSupport::getQt(env, paper));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, clipRegion), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_draw__Lorg_kde_qt_QPainter_2IILorg_kde_qt_QRegion_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject p, jint x, jint y, jobject clipRegion, jobject cg, jobject paper)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, clipRegion), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQBrush*) QtSupport::getQt(env, paper));
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, clipRegion), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQBrush*) QtSupport::getQt(env, paper));
return;
}
@@ -86,7 +86,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TQSimpleRichText*)QtSupport::getQt(env, obj);
+ delete (TTQSimpleRichText*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -95,14 +95,14 @@ Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSimpleRichText_height(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->height();
+ jint xret = (jint) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->height();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSimpleRichText_inText(JNIEnv* env, jobject obj, jobject pos)
{
- jboolean xret = (jboolean) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->inText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
+ jboolean xret = (jboolean) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->inText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos));
return xret;
}
@@ -113,83 +113,83 @@ Java_org_kde_qt_QSimpleRichText_isDisposed(JNIEnv* env, jobject obj)
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring text, jobject fnt)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring text, jobject fnt)
{
-static TQString* _qstring_text = 0;
+static TTQString* _qstring_text = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context)));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet)));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory)));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2I(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor)));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, linkColor)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor, jboolean linkUnderline)
+Java_org_kde_qt_QSimpleRichText_newTQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2Lorg_kde_qt_QStyleSheet_2Lorg_kde_qt_QMimeSourceFactory_2ILorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context, jobject sheet, jobject factory, jint pageBreak, jobject linkColor, jboolean linkUnderline)
{
-static TQString* _qstring_text = 0;
-static TQString* _qstring_context = 0;
+static TTQString* _qstring_text = 0;
+static TTQString* _qstring_context = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, linkColor), (bool) linkUnderline));
+ QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, linkColor), (bool) linkUnderline));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -198,35 +198,35 @@ static TQString* _qstring_context = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_setDefaultFont(JNIEnv* env, jobject obj, jobject f)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f));
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->setDefaultFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, f));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_setWidth__I(JNIEnv* env, jobject obj, jint arg1)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((int) arg1);
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSimpleRichText_setWidth__Lorg_kde_qt_QPainter_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
- ((TQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((TQPainter*) QtSupport::getQt(env, arg1), (int) arg2);
+ ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((TTQPainter*) QtSupport::getQt(env, arg1), (int) arg2);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSimpleRichText_widthUsed(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->widthUsed();
+ jint xret = (jint) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->widthUsed();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSimpleRichText_width(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->width();
+ jint xret = (jint) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->width();
return xret;
}