diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:06:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:06:26 -0600 |
commit | e1a0e352b6ead69ed6f55476272ace842fbbdf74 (patch) | |
tree | f3052eff3deddf34c2297517f59cc178c130feda /qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp | |
parent | bf9353f84ee5920dec2872f63de9f07508e7b4a8 (diff) | |
download | tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.tar.gz tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.zip |
Rename java files to TQ
Diffstat (limited to 'qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp b/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp new file mode 100644 index 00000000..5f93236a --- /dev/null +++ b/qtjava/javalib/qtjava/TQDomProcessingInstruction.cpp @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <tqdom.h> + +#include <qtjava/QtSupport.h> +#include <qtjava/TQDomProcessingInstruction.h> + +class TQDomProcessingInstructionJBridge : public TQDomProcessingInstruction +{ +public: + TQDomProcessingInstructionJBridge() : TQDomProcessingInstruction() {}; + TQDomProcessingInstructionJBridge(const TQDomProcessingInstruction& arg1) : TQDomProcessingInstruction(arg1) {}; + ~TQDomProcessingInstructionJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomProcessingInstruction_data(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_qt_QDomProcessingInstruction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TQDomProcessingInstruction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomProcessingInstruction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->isProcessingInstruction(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2(JNIEnv* env, jobject obj, jobject x) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge((const TQDomProcessingInstruction&)*(const TQDomProcessingInstruction*) QtSupport::getQt(env, x))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDomProcessingInstruction_nodeType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->nodeType(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDomProcessingInstruction_setData(JNIEnv* env, jobject obj, jstring d) +{ +static TQString* _qstring_d = 0; + ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, d, &_qstring_d)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_qt_QDomProcessingInstruction_target(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->target(); + return QtSupport::fromTQString(env, &_qstring); +} + |