diff options
Diffstat (limited to 'kdejava/koala/kdejava/KNotifyClient.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KNotifyClient.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/kdejava/koala/kdejava/KNotifyClient.cpp b/kdejava/koala/kdejava/KNotifyClient.cpp index 1878b722..4dd2f7bb 100644 --- a/kdejava/koala/kdejava/KNotifyClient.cpp +++ b/kdejava/koala/kdejava/KNotifyClient.cpp @@ -19,8 +19,8 @@ JNIEXPORT void JNICALL Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring reason) { (void) cls; -static TTQString* _qstring_reason = 0; - KNotifyClient::beep((const TTQString&)*(TTQString*) QtSupport::toTQString(env, reason, &_qstring_reason)); +static TQString* _qstring_reason = 0; + KNotifyClient::beep((const TQString&)*(TQString*) QtSupport::toTQString(env, reason, &_qstring_reason)); return; } @@ -37,8 +37,8 @@ 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 TTQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); +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; } @@ -46,8 +46,8 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message) { (void) cls; -static TTQString* _qstring_message = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, message, &_qstring_message)); +static TQString* _qstring_message = 0; + jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message)); return xret; } @@ -55,19 +55,19 @@ 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 TTQString* _qstring_message = 0; -static TTQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, message, &_qstring_message), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); +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) { - TTQString _qstring; + TQString _qstring; (void) cls; -static TTQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getDefaultFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); +static TQString* _qstring_eventname = 0; + _qstring = KNotifyClient::getDefaultFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); return QtSupport::fromTQString(env, &_qstring); } @@ -75,18 +75,18 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getDefaultPresentation(JNIEnv* env, jclass cls, jstring eventname) { (void) cls; -static TTQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getDefaultPresentation((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); +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) { - TTQString _qstring; + TQString _qstring; (void) cls; -static TTQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); +static TQString* _qstring_eventname = 0; + _qstring = KNotifyClient::getFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); return QtSupport::fromTQString(env, &_qstring); } @@ -94,8 +94,8 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getPresentation(JNIEnv* env, jclass cls, jstring eventname) { (void) cls; -static TTQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getPresentation((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); +static TQString* _qstring_eventname = 0; + jint xret = (jint) KNotifyClient::getPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); return xret; } @@ -129,8 +129,8 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text) { (void) cls; -static TTQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -138,8 +138,8 @@ 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 TTQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present); +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; } @@ -147,8 +147,8 @@ 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 TTQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level); +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; } @@ -156,9 +156,9 @@ 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 TTQString* _qstring_text = 0; -static TTQString* _qstring_sound = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, sound, &_qstring_sound)); +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; } @@ -166,10 +166,10 @@ 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 TTQString* _qstring_text = 0; -static TTQString* _qstring_sound = 0; -static TTQString* _qstring_file = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, sound, &_qstring_sound), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file)); +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; } |