diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QDomCharacterData.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QDomCharacterData.cpp | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/QDomCharacterData.cpp b/qtjava/javalib/qtjava/QDomCharacterData.cpp new file mode 100644 index 00000000..f8823632 --- /dev/null +++ b/qtjava/javalib/qtjava/QDomCharacterData.cpp @@ -0,0 +1,134 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <qstring.h> +#include <qdom.h> + +#include <qtjava/QtSupport.h> +#include <qtjava/QDomCharacterData.h> + +class QDomCharacterDataJBridge : public QDomCharacterData +{ +public: + QDomCharacterDataJBridge() : QDomCharacterData() {}; + QDomCharacterDataJBridge(const QDomCharacterData& arg1) : QDomCharacterData(arg1) {}; + ~QDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) +{ +static QString* _qstring_arg = 0; + ((QDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const QString&)*(QString*) QtSupport::toQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomCharacterData_data(JNIEnv* env, jobject obj) +{ + QString _qstring; + _qstring = ((QDomCharacterData*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) +{ + ((QDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomCharacterData_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (QDomCharacterData*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) +{ +static QString* _qstring_arg = 0; + ((QDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const QString&)*(QString*) QtSupport::toQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCharacterData_isCharacterData(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((QDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomCharacterData_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomCharacterData_length(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((QDomCharacterData*) QtSupport::getQt(env, obj))->length(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new QDomCharacterDataJBridge()); + 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) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new QDomCharacterDataJBridge((const QDomCharacterData&)*(const QDomCharacterData*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((QDomCharacterData*) 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 QString* _qstring_arg = 0; + ((QDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const QString&)*(QString*) QtSupport::toQString(env, arg, &_qstring_arg)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomCharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) +{ +static QString* _qstring_arg1 = 0; + ((QDomCharacterData*) QtSupport::getQt(env, obj))->setData((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomCharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) +{ + QString _qstring; + _qstring = ((QDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count); + return QtSupport::fromQString(env, &_qstring); +} + |