|
|
|
@ -5,235 +5,235 @@
|
|
|
|
|
|
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
|
|
|
#include <kdejava/KDESupport.h>
|
|
|
|
|
#include <kdejava/KAboutData.h>
|
|
|
|
|
#include <kdejava/TDEAboutData.h>
|
|
|
|
|
|
|
|
|
|
class KAboutDataJBridge : public KAboutData
|
|
|
|
|
class TDEAboutDataJBridge : public TDEAboutData
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8,const char* arg9) : KAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8) : KAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7) : KAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6) : KAboutData(arg1,arg2,arg3,arg4,arg5,arg6) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5) : KAboutData(arg1,arg2,arg3,arg4,arg5) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : KAboutData(arg1,arg2,arg3,arg4) {};
|
|
|
|
|
KAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3) : KAboutData(arg1,arg2,arg3) {};
|
|
|
|
|
~KAboutDataJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8,const char* arg9) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5) : TDEAboutData(arg1,arg2,arg3,arg4,arg5) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutData(arg1,arg2,arg3,arg4) {};
|
|
|
|
|
TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3) : TDEAboutData(arg1,arg2,arg3) {};
|
|
|
|
|
~TDEAboutDataJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_aboutTranslationTeam(JNIEnv* env, jclass cls)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_aboutTranslationTeam(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = KAboutDataJBridge::aboutTranslationTeam();
|
|
|
|
|
_qstring = TDEAboutDataJBridge::aboutTranslationTeam();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addAuthor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
static TQCString* _qstring_emailAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
static TQCString* _qstring_emailAddress = 0;
|
|
|
|
|
static TQCString* _qstring_webAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addCredit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
static TQCString* _qstring_emailAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_task = 0;
|
|
|
|
|
static TQCString* _qstring_emailAddress = 0;
|
|
|
|
|
static TQCString* _qstring_webAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_appName(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_appName(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->appName();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->appName();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_bugAddress(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_bugAddress(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->bugAddress();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->bugAddress();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_copyrightStatement(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_copyrightStatement(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->copyrightStatement();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->copyrightStatement();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_customAuthorPlainText(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_customAuthorPlainText(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->customAuthorPlainText();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorPlainText();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_customAuthorRichText(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_customAuthorRichText(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->customAuthorRichText();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorRichText();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_customAuthorTextEnabled(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_customAuthorTextEnabled(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
jboolean xret = (jboolean) ((KAboutData*) QtSupport::getQt(env, obj))->customAuthorTextEnabled();
|
|
|
|
|
jboolean xret = (jboolean) ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorTextEnabled();
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_dispose(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_dispose(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
Java_org_kde_koala_KAboutData_finalize(env, obj);
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_finalize(env, obj);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_finalize(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_finalize(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
if (QtSupport::allocatedInJavaWorld(env, obj)) {
|
|
|
|
|
delete (KAboutData*)QtSupport::getQt(env, obj);
|
|
|
|
|
delete (TDEAboutData*)QtSupport::getQt(env, obj);
|
|
|
|
|
QtSupport::setQt(env, obj, 0);
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_homepage(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_homepage(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->homepage();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->homepage();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_isDisposed(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
return (QtSupport::getQt(env, obj) == 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_license(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_license(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->license();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->license();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
|
static TQCString* _qstring_version = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
|
static TQCString* _qstring_version = 0;
|
|
|
|
|
static TQCString* _qstring_shortDescription = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
|
static TQCString* _qstring_version = 0;
|
|
|
|
|
static TQCString* _qstring_shortDescription = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
@ -241,14 +241,14 @@ static TQCString* _qstring_version = 0;
|
|
|
|
|
static TQCString* _qstring_shortDescription = 0;
|
|
|
|
|
static TQCString* _qstring_copyrightStatement = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
@ -257,14 +257,14 @@ static TQCString* _qstring_shortDescription = 0;
|
|
|
|
|
static TQCString* _qstring_copyrightStatement = 0;
|
|
|
|
|
static TQCString* _qstring_text = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
@ -274,14 +274,14 @@ static TQCString* _qstring_copyrightStatement = 0;
|
|
|
|
|
static TQCString* _qstring_text = 0;
|
|
|
|
|
static TQCString* _qstring_homePageAddress = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_newKAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress, jstring bugsEmailAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress, jstring bugsEmailAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
@ -292,183 +292,183 @@ static TQCString* _qstring_text = 0;
|
|
|
|
|
static TQCString* _qstring_homePageAddress = 0;
|
|
|
|
|
static TQCString* _qstring_bugsEmailAddress = 0;
|
|
|
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
|
|
|
QtSupport::setQt(env, obj, new KAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress), (const char*) QtSupport::toCharString(env, bugsEmailAddress, &_qstring_bugsEmailAddress)));
|
|
|
|
|
QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress), (const char*) QtSupport::toCharString(env, bugsEmailAddress, &_qstring_bugsEmailAddress)));
|
|
|
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_otherText(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_otherText(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->otherText();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->otherText();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_productName(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_productName(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->productName();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->productName();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_programLogo(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_programLogo(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KAboutData*) QtSupport::getQt(env, obj))->programLogo()), "org.kde.qt.TQImage", TRUE);
|
|
|
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEAboutData*) QtSupport::getQt(env, obj))->programLogo()), "org.kde.qt.TQImage", TRUE);
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_programName(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_programName(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->programName();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->programName();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setAppName(JNIEnv* env, jobject obj, jstring appName)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setAppName(JNIEnv* env, jobject obj, jstring appName)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_appName = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setAppName((const char*) QtSupport::toCharString(env, appName, &_qstring_appName));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setAppName((const char*) QtSupport::toCharString(env, appName, &_qstring_appName));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setBugAddress(JNIEnv* env, jobject obj, jstring bugAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setBugAddress(JNIEnv* env, jobject obj, jstring bugAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_bugAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setBugAddress((const char*) QtSupport::toCharString(env, bugAddress, &_qstring_bugAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setBugAddress((const char*) QtSupport::toCharString(env, bugAddress, &_qstring_bugAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setCopyrightStatement(JNIEnv* env, jobject obj, jstring copyrightStatement)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setCopyrightStatement(JNIEnv* env, jobject obj, jstring copyrightStatement)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_copyrightStatement = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setCopyrightStatement((const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setCopyrightStatement((const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setCustomAuthorText(JNIEnv* env, jobject obj, jstring plainText, jstring richText)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setCustomAuthorText(JNIEnv* env, jobject obj, jstring plainText, jstring richText)
|
|
|
|
|
{
|
|
|
|
|
static TQString* _qstring_plainText = 0;
|
|
|
|
|
static TQString* _qstring_richText = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setCustomAuthorText((const TQString&)*(TQString*) QtSupport::toTQString(env, plainText, &_qstring_plainText), (const TQString&)*(TQString*) QtSupport::toTQString(env, richText, &_qstring_richText));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setCustomAuthorText((const TQString&)*(TQString*) QtSupport::toTQString(env, plainText, &_qstring_plainText), (const TQString&)*(TQString*) QtSupport::toTQString(env, richText, &_qstring_richText));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setHomepage(JNIEnv* env, jobject obj, jstring homepage)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setHomepage(JNIEnv* env, jobject obj, jstring homepage)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_homepage = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setHomepage((const char*) QtSupport::toCharString(env, homepage, &_qstring_homepage));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setHomepage((const char*) QtSupport::toCharString(env, homepage, &_qstring_homepage));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setLicenseTextFile(JNIEnv* env, jobject obj, jstring file)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setLicenseTextFile(JNIEnv* env, jobject obj, jstring file)
|
|
|
|
|
{
|
|
|
|
|
static TQString* _qstring_file = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setLicenseTextFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseTextFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setLicenseText(JNIEnv* env, jobject obj, jstring license)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setLicenseText(JNIEnv* env, jobject obj, jstring license)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_license = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setLicenseText((const char*) QtSupport::toCharString(env, license, &_qstring_license));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseText((const char*) QtSupport::toCharString(env, license, &_qstring_license));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setLicense(JNIEnv* env, jobject obj, jint licenseKey)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setLicense(JNIEnv* env, jobject obj, jint licenseKey)
|
|
|
|
|
{
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setLicense((KAboutData::LicenseKey) licenseKey);
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setLicense((TDEAboutData::LicenseKey) licenseKey);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setOtherText(JNIEnv* env, jobject obj, jstring otherText)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setOtherText(JNIEnv* env, jobject obj, jstring otherText)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_otherText = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setOtherText((const char*) QtSupport::toCharString(env, otherText, &_qstring_otherText));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setOtherText((const char*) QtSupport::toCharString(env, otherText, &_qstring_otherText));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setProductName(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setProductName(JNIEnv* env, jobject obj, jstring name)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setProductName((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setProductName((const char*) QtSupport::toCharString(env, name, &_qstring_name));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setProgramLogo(JNIEnv* env, jobject obj, jobject image)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setProgramLogo(JNIEnv* env, jobject obj, jobject image)
|
|
|
|
|
{
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setProgramLogo((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramLogo((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setProgramName(JNIEnv* env, jobject obj, jstring programName)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setProgramName(JNIEnv* env, jobject obj, jstring programName)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_programName = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setProgramName((const char*) QtSupport::toCharString(env, programName, &_qstring_programName));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramName((const char*) QtSupport::toCharString(env, programName, &_qstring_programName));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setShortDescription(JNIEnv* env, jobject obj, jstring shortDescription)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setShortDescription(JNIEnv* env, jobject obj, jstring shortDescription)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_shortDescription = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setShortDescription((const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setShortDescription((const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setTranslator(JNIEnv* env, jobject obj, jstring name, jstring emailAddress)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setTranslator(JNIEnv* env, jobject obj, jstring name, jstring emailAddress)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_name = 0;
|
|
|
|
|
static TQCString* _qstring_emailAddress = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setTranslator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setTranslator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_setVersion(JNIEnv* env, jobject obj, jstring version)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_setVersion(JNIEnv* env, jobject obj, jstring version)
|
|
|
|
|
{
|
|
|
|
|
static TQCString* _qstring_version = 0;
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->setVersion((const char*) QtSupport::toCharString(env, version, &_qstring_version));
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->setVersion((const char*) QtSupport::toCharString(env, version, &_qstring_version));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_shortDescription(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_shortDescription(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->shortDescription();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->shortDescription();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_unsetCustomAuthorText(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_unsetCustomAuthorText(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
((KAboutData*) QtSupport::getQt(env, obj))->unsetCustomAuthorText();
|
|
|
|
|
((TDEAboutData*) QtSupport::getQt(env, obj))->unsetCustomAuthorText();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
|
Java_org_kde_koala_KAboutData_version(JNIEnv* env, jobject obj)
|
|
|
|
|
Java_org_kde_koala_TDEAboutData_version(JNIEnv* env, jobject obj)
|
|
|
|
|
{
|
|
|
|
|
TQString _qstring;
|
|
|
|
|
_qstring = ((KAboutData*) QtSupport::getQt(env, obj))->version();
|
|
|
|
|
_qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->version();
|
|
|
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|