diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QDataSource.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QDataSource.cpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/QDataSource.cpp b/qtjava/javalib/qtjava/QDataSource.cpp new file mode 100644 index 00000000..971fdd7f --- /dev/null +++ b/qtjava/javalib/qtjava/QDataSource.cpp @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <qasyncio.h> + +#include <qtjava/QtSupport.h> +#include <qtjava/QDataSource.h> + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_enableRewind(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((QDataSource*) QtSupport::getQt(env, obj))->enableRewind((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_maybeReady(JNIEnv* env, jobject obj) +{ + ((QDataSource*) QtSupport::getQt(env, obj))->maybeReady(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_qt_QDataSource_readyToSend(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((QDataSource*) QtSupport::getQt(env, obj))->readyToSend(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_rewind(JNIEnv* env, jobject obj) +{ + ((QDataSource*) QtSupport::getQt(env, obj))->rewind(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_qt_QDataSource_rewindable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((QDataSource*) QtSupport::getQt(env, obj))->rewindable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_qt_QDataSource_sendTo(JNIEnv* env, jobject obj, jobject arg1, jint count) +{ + ((QDataSource*) QtSupport::getQt(env, obj))->sendTo((QDataSink*) QtSupport::getQt(env, arg1), (int) count); + return; +} + |