diff options
Diffstat (limited to 'kdejava/koala/kdejava/KNotifyClient.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KNotifyClient.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/kdejava/koala/kdejava/KNotifyClient.cpp b/kdejava/koala/kdejava/KNotifyClient.cpp index 6b5a8164..1878b722 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 TQString* _qstring_reason = 0; - KNotifyClient::beep((const TQString&)*(TQString*) QtSupport::toQString(env, reason, &_qstring_reason)); +static TTQString* _qstring_reason = 0; + KNotifyClient::beep((const TTQString&)*(TTQString*) 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 TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TTQString&)*(TTQString*) 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 TQString* _qstring_message = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toQString(env, message, &_qstring_message)); +static TTQString* _qstring_message = 0; + jint xret = (jint) KNotifyClient::event((int) winId, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, message, &_qstring_message)); return xret; } @@ -55,47 +55,47 @@ 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::toQString(env, message, &_qstring_message), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +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)); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KNotifyClient_getDefaultFile(JNIEnv* env, jclass cls, jstring eventname, jint present) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getDefaultFile((const TQString&)*(TQString*) QtSupport::toQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_eventname = 0; + _qstring = KNotifyClient::getDefaultFile((const TTQString&)*(TTQString*) 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::toQString(env, eventname, &_qstring_eventname)); +static TTQString* _qstring_eventname = 0; + jint xret = (jint) KNotifyClient::getDefaultPresentation((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getFile((const TQString&)*(TQString*) QtSupport::toQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_eventname = 0; + _qstring = KNotifyClient::getFile((const TTQString&)*(TTQString*) 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::toQString(env, eventname, &_qstring_eventname)); +static TTQString* _qstring_eventname = 0; + jint xret = (jint) KNotifyClient::getPresentation((const TTQString&)*(TTQString*) 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 TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) 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 TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) present); +static TTQString* _qstring_text = 0; + jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TTQString&)*(TTQString*) 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 TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) present, (int) level); +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); 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 TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toQString(env, sound, &_qstring_sound)); +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)); 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 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::toQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toQString(env, sound, &_qstring_sound), (const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file)); +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)); return xret; } |