diff options
Diffstat (limited to 'kdejava/koala/kdejava/KNotifyClient.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KNotifyClient.cpp | 175 |
1 files changed, 0 insertions, 175 deletions
diff --git a/kdejava/koala/kdejava/KNotifyClient.cpp b/kdejava/koala/kdejava/KNotifyClient.cpp deleted file mode 100644 index da2ea81c..00000000 --- a/kdejava/koala/kdejava/KNotifyClient.cpp +++ /dev/null @@ -1,175 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <knotifyclient.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KNotifyClient.h> - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KNotifyClient::beep(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring reason) -{ - (void) cls; -static TQString* _qstring_reason = 0; - KNotifyClient::beep((const TQString&)*(TQString*) QtSupport::toTQString(env, reason, &_qstring_reason)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__II(JNIEnv* env, jclass cls, jint winId, jint event) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jint event, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message) -{ - (void) cls; -static TQString* _qstring_message = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message, jstring text) -{ - (void) cls; -static TQString* _qstring_message = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getDefaultFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getDefaultPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNotifyClient_instance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KNotifyClient::instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KNotifyClient_startDaemon(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KNotifyClient::startDaemon(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__I(JNIEnv* env, jclass cls, jint winId) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::userEvent((int) winId); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I(JNIEnv* env, jclass cls, jint winId, jstring text, jint present) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound, jstring file) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; -static TQString* _qstring_file = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - |