diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QDomCharacterData.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QDomCharacterData.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/qtjava/javalib/qtjava/QDomCharacterData.cpp b/qtjava/javalib/qtjava/QDomCharacterData.cpp index f1aba4ea..e0e739cd 100644 --- a/qtjava/javalib/qtjava/QDomCharacterData.cpp +++ b/qtjava/javalib/qtjava/QDomCharacterData.cpp @@ -3,36 +3,36 @@ #include <tqdom.h> #include <qtjava/QtSupport.h> -#include <qtjava/QDomCharacterData.h> +#include <qtjava/TQDomCharacterData.h> -class QDomCharacterDataJBridge : public QDomCharacterData +class TQDomCharacterDataJBridge : public TQDomCharacterData { public: - QDomCharacterDataJBridge() : TQDomCharacterData() {}; - QDomCharacterDataJBridge(const TQDomCharacterData& arg1) : TQDomCharacterData(arg1) {}; - ~QDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomCharacterDataJBridge() : TTQDomCharacterData() {}; + TQDomCharacterDataJBridge(const TTQDomCharacterData& arg1) : TTQDomCharacterData(arg1) {}; + ~TQDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) { -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_data(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) { - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); return; } @@ -47,7 +47,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomCharacterData*)QtSupport::getQt(env, obj); + delete (TTQDomCharacterData*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -56,15 +56,15 @@ Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) { -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCharacterData_isCharacterData(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); + jboolean xret = (jboolean) ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); return xret; } @@ -77,25 +77,25 @@ Java_org_kde_qt_QDomCharacterData_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_length(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->length(); + jint xret = (jint) ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->length(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomCharacterDataJBridge()); + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x) +Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomCharacterDataJBridge((const TQDomCharacterData&)*(const TQDomCharacterData*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge((const TTQDomCharacterData&)*(const TTQDomCharacterData*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -104,31 +104,31 @@ Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__Lorg_kde_qt_QDomCharacte JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg) { -static TQString* _qstring_arg = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; - ((TQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomCharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) { - TQString _qstring; - _qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count); + return QtSupport::fromTQString(env, &_qstring); } |