Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>master
parent
1c136e5290
commit
997dbd41f1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,344 +0,0 @@
|
|||||||
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
||||||
#include <dcopclient.h>
|
|
||||||
#include <kuniqueapplication.h>
|
|
||||||
#include <dcopobject.h>
|
|
||||||
#include <tqcstring.h>
|
|
||||||
|
|
||||||
#include <qtjava/QtSupport.h>
|
|
||||||
#include <tdejava/TDESupport.h>
|
|
||||||
#include <tdejava/KUniqueApplication.h>
|
|
||||||
|
|
||||||
class KUniqueApplicationJBridge : public KUniqueApplication
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
KUniqueApplicationJBridge(bool arg1,bool arg2,bool arg3) : KUniqueApplication(arg1,arg2,arg3) {};
|
|
||||||
KUniqueApplicationJBridge(bool arg1,bool arg2) : KUniqueApplication(arg1,arg2) {};
|
|
||||||
KUniqueApplicationJBridge(bool arg1) : KUniqueApplication(arg1) {};
|
|
||||||
KUniqueApplicationJBridge() : KUniqueApplication() {};
|
|
||||||
~KUniqueApplicationJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
||||||
void processOneEvent() {
|
|
||||||
if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KUniqueApplication","processOneEvent")) {
|
|
||||||
TQApplication::processOneEvent();
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void removeChild(TQObject* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
|
|
||||||
TQObject::removeChild(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void polish(TQWidget* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
|
|
||||||
TQApplication::polish(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void customEvent(TQCustomEvent* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
|
|
||||||
TQObject::customEvent(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void timerEvent(TQTimerEvent* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
|
|
||||||
TQObject::timerEvent(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void childEvent(TQChildEvent* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
|
|
||||||
TQObject::childEvent(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void setMainWidget(TQWidget* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
|
|
||||||
TQApplication::setMainWidget(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
void insertChild(TQObject* arg1) {
|
|
||||||
if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
|
|
||||||
TQObject::insertChild(arg1);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
bool eventFilter(TQObject* object,TQEvent* event) {
|
|
||||||
if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.KUniqueApplication",object,event)) {
|
|
||||||
return TQObject::eventFilter(object,event);
|
|
||||||
} else {
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_addCmdLineOptions(JNIEnv* env, jclass cls)
|
|
||||||
{
|
|
||||||
(void) cls;
|
|
||||||
(void) env;
|
|
||||||
KUniqueApplicationJBridge::addCmdLineOptions();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_callingDcopClient(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.trinitydesktop.koala.DCOPClient");
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jstring JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_className(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
const char* _qstring;
|
|
||||||
_qstring = ((KUniqueApplication*) QtSupport::getQt(env, obj))->className();
|
|
||||||
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_sender = 0;
|
|
||||||
static TQCString* _qcstring_senderObj = 0;
|
|
||||||
static TQCString* _qcstring_signal = 0;
|
|
||||||
static TQCString* _qcstring_slot = 0;
|
|
||||||
jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile);
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_sender = 0;
|
|
||||||
static TQCString* _qcstring_senderObj = 0;
|
|
||||||
static TQCString* _qcstring_signal = 0;
|
|
||||||
static TQCString* _qcstring_slot = 0;
|
|
||||||
jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot));
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_dispose(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_finalize(env, obj);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_signal = 0;
|
|
||||||
static TQByteArray* _qbyteArray_data = 0;
|
|
||||||
((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_finalize(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
if (QtSupport::allocatedInJavaWorld(env, obj) && ((KUniqueApplication*)QtSupport::getQt(env, obj))->parent() == 0) {
|
|
||||||
delete (KUniqueApplication*)QtSupport::getQt(env, obj);
|
|
||||||
QtSupport::setQt(env, obj, 0);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_find(JNIEnv* env, jclass cls, jstring objId)
|
|
||||||
{
|
|
||||||
(void) cls;
|
|
||||||
static TQCString* _qcstring_objId = 0;
|
|
||||||
jobject xret = QtSupport::objectForQtKey(env, (void*)KUniqueApplicationJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.trinitydesktop.koala.DCOPObjectInterface");
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_functionsDynamic(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
QCStringList _qlist;
|
|
||||||
_qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functionsDynamic();
|
|
||||||
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_functions(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
QCStringList _qlist;
|
|
||||||
_qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functions();
|
|
||||||
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_hasObject(JNIEnv* env, jclass cls, jstring objId)
|
|
||||||
{
|
|
||||||
(void) cls;
|
|
||||||
static TQCString* _qcstring_objId = 0;
|
|
||||||
jboolean xret = (jboolean) KUniqueApplicationJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_interfacesDynamic(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
QCStringList _qlist;
|
|
||||||
_qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfacesDynamic();
|
|
||||||
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_interfaces(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
QCStringList _qlist;
|
|
||||||
_qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfaces();
|
|
||||||
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_isDisposed(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
return (QtSupport::getQt(env, obj) == 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jobject JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_metaObject(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
jobject xret = QtSupport::objectForQtKey(env, (void*)((KUniqueApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jint JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_newInstance(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
jint xret = (jint) ((KUniqueApplication*) QtSupport::getQt(env, obj))->newInstance();
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
if (QtSupport::getQt(env, obj) == 0) {
|
|
||||||
QtSupport::setQt(env, obj, new KUniqueApplicationJBridge());
|
|
||||||
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles)
|
|
||||||
{
|
|
||||||
if (QtSupport::getQt(env, obj) == 0) {
|
|
||||||
QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles));
|
|
||||||
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled)
|
|
||||||
{
|
|
||||||
if (QtSupport::getQt(env, obj) == 0) {
|
|
||||||
QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled));
|
|
||||||
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__ZZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jboolean configUnique)
|
|
||||||
{
|
|
||||||
if (QtSupport::getQt(env, obj) == 0) {
|
|
||||||
QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (bool) configUnique));
|
|
||||||
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jstring JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_objId(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
TQCString _qstring;
|
|
||||||
_qstring = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->objId();
|
|
||||||
return QtSupport::fromTQCString(env, &_qstring);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jstring JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_objectName(JNIEnv* env, jclass cls, jobject arg1)
|
|
||||||
{
|
|
||||||
TQCString _qstring;
|
|
||||||
(void) cls;
|
|
||||||
_qstring = KUniqueApplicationJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1));
|
|
||||||
return QtSupport::fromTQCString(env, &_qstring);
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_fun = 0;
|
|
||||||
static TQByteArray* _qbyteArray_data = 0;
|
|
||||||
static TQCString* _qcstring_replyType = 0;
|
|
||||||
if (_qcstring_replyType == 0) {
|
|
||||||
_qcstring_replyType = new TQCString();
|
|
||||||
}
|
|
||||||
static TQByteArray* _qbyteArray_replyData = 0;
|
|
||||||
jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
|
|
||||||
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_fun = 0;
|
|
||||||
static TQByteArray* _qbyteArray_data = 0;
|
|
||||||
static TQCString* _qcstring_replyType = 0;
|
|
||||||
if (_qcstring_replyType == 0) {
|
|
||||||
_qcstring_replyType = new TQCString();
|
|
||||||
}
|
|
||||||
static TQByteArray* _qbyteArray_replyData = 0;
|
|
||||||
jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
|
|
||||||
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_restoringSession(JNIEnv* env, jobject obj)
|
|
||||||
{
|
|
||||||
jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->restoringSession();
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1)
|
|
||||||
{
|
|
||||||
((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_setHandleAutoStarted(JNIEnv* env, jclass cls)
|
|
||||||
{
|
|
||||||
(void) cls;
|
|
||||||
(void) env;
|
|
||||||
KUniqueApplicationJBridge::setHandleAutoStarted();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_setObjId(JNIEnv* env, jobject obj, jstring objId)
|
|
||||||
{
|
|
||||||
static TQCString* _qcstring_objId = 0;
|
|
||||||
jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
||||||
JNIEXPORT jboolean JNICALL
|
|
||||||
Java_org_trinitydesktop_koala_KUniqueApplication_start(JNIEnv* env, jclass cls)
|
|
||||||
{
|
|
||||||
(void) cls;
|
|
||||||
(void) env;
|
|
||||||
jboolean xret = (jboolean) KUniqueApplicationJBridge::start();
|
|
||||||
return xret;
|
|
||||||
}
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
|||||||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
||||||
|
|
||||||
#ifndef __org_trinitydesktop_koala_KUniqueApplication__
|
|
||||||
#define __org_trinitydesktop_koala_KUniqueApplication__
|
|
||||||
|
|
||||||
#include <jni.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_metaObject (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_className (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__ZZZ (JNIEnv *env, jobject, jboolean, jboolean, jboolean);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__Z (JNIEnv *env, jobject, jboolean);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_newKUniqueApplication__ (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray);
|
|
||||||
extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_newInstance (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_restoringSession (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_addCmdLineOptions (JNIEnv *env, jclass);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_start (JNIEnv *env, jclass);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_setHandleAutoStarted (JNIEnv *env, jclass);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_finalize (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_dispose (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_isDisposed (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_objId (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_setObjId (JNIEnv *env, jobject, jstring);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_functionsDynamic (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_interfacesDynamic (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_interfaces (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_functions (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_callingDcopClient (JNIEnv *env, jobject);
|
|
||||||
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_setCallingDcopClient (JNIEnv *env, jobject, jobject);
|
|
||||||
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_hasObject (JNIEnv *env, jclass, jstring);
|
|
||||||
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_find (JNIEnv *env, jclass, jstring);
|
|
||||||
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_KUniqueApplication_objectName (JNIEnv *env, jclass, jobject);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __org_trinitydesktop_koala_KUniqueApplication__ */
|
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,344 @@
|
|||||||
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||||||
|
#include <dcopclient.h>
|
||||||
|
#include <tdeuniqueapplication.h>
|
||||||
|
#include <dcopobject.h>
|
||||||
|
#include <tqcstring.h>
|
||||||
|
|
||||||
|
#include <qtjava/QtSupport.h>
|
||||||
|
#include <tdejava/TDESupport.h>
|
||||||
|
#include <tdejava/TDEUniqueApplication.h>
|
||||||
|
|
||||||
|
class TDEUniqueApplicationJBridge : public TDEUniqueApplication
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
TDEUniqueApplicationJBridge(bool arg1,bool arg2,bool arg3) : TDEUniqueApplication(arg1,arg2,arg3) {};
|
||||||
|
TDEUniqueApplicationJBridge(bool arg1,bool arg2) : TDEUniqueApplication(arg1,arg2) {};
|
||||||
|
TDEUniqueApplicationJBridge(bool arg1) : TDEUniqueApplication(arg1) {};
|
||||||
|
TDEUniqueApplicationJBridge() : TDEUniqueApplication() {};
|
||||||
|
~TDEUniqueApplicationJBridge() {QtSupport::qtKeyDeleted(this);}
|
||||||
|
void processOneEvent() {
|
||||||
|
if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEUniqueApplication","processOneEvent")) {
|
||||||
|
TQApplication::processOneEvent();
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void removeChild(TQObject* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
|
||||||
|
TQObject::removeChild(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void polish(TQWidget* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
|
||||||
|
TQApplication::polish(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void customEvent(TQCustomEvent* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
|
||||||
|
TQObject::customEvent(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void timerEvent(TQTimerEvent* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
|
||||||
|
TQObject::timerEvent(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void childEvent(TQChildEvent* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
|
||||||
|
TQObject::childEvent(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void setMainWidget(TQWidget* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
|
||||||
|
TQApplication::setMainWidget(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void insertChild(TQObject* arg1) {
|
||||||
|
if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
|
||||||
|
TQObject::insertChild(arg1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
bool eventFilter(TQObject* object,TQEvent* event) {
|
||||||
|
if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.TDEUniqueApplication",object,event)) {
|
||||||
|
return TQObject::eventFilter(object,event);
|
||||||
|
} else {
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_addCmdLineOptions(JNIEnv* env, jclass cls)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
(void) env;
|
||||||
|
TDEUniqueApplicationJBridge::addCmdLineOptions();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_callingDcopClient(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.trinitydesktop.koala.DCOPClient");
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jstring JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_className(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
const char* _qstring;
|
||||||
|
_qstring = ((TDEUniqueApplication*) QtSupport::getQt(env, obj))->className();
|
||||||
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_sender = 0;
|
||||||
|
static TQCString* _qcstring_senderObj = 0;
|
||||||
|
static TQCString* _qcstring_signal = 0;
|
||||||
|
static TQCString* _qcstring_slot = 0;
|
||||||
|
jboolean xret = (jboolean) ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile);
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_sender = 0;
|
||||||
|
static TQCString* _qcstring_senderObj = 0;
|
||||||
|
static TQCString* _qcstring_signal = 0;
|
||||||
|
static TQCString* _qcstring_slot = 0;
|
||||||
|
jboolean xret = (jboolean) ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot));
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_dispose(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_finalize(env, obj);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_signal = 0;
|
||||||
|
static TQByteArray* _qbyteArray_data = 0;
|
||||||
|
((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_finalize(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEUniqueApplication*)QtSupport::getQt(env, obj))->parent() == 0) {
|
||||||
|
delete (TDEUniqueApplication*)QtSupport::getQt(env, obj);
|
||||||
|
QtSupport::setQt(env, obj, 0);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_find(JNIEnv* env, jclass cls, jstring objId)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
static TQCString* _qcstring_objId = 0;
|
||||||
|
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEUniqueApplicationJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.trinitydesktop.koala.DCOPObjectInterface");
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_functionsDynamic(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
QCStringList _qlist;
|
||||||
|
_qlist = ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->functionsDynamic();
|
||||||
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_functions(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
QCStringList _qlist;
|
||||||
|
_qlist = ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->functions();
|
||||||
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_hasObject(JNIEnv* env, jclass cls, jstring objId)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
static TQCString* _qcstring_objId = 0;
|
||||||
|
jboolean xret = (jboolean) TDEUniqueApplicationJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_interfacesDynamic(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
QCStringList _qlist;
|
||||||
|
_qlist = ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->interfacesDynamic();
|
||||||
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_interfaces(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
QCStringList _qlist;
|
||||||
|
_qlist = ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->interfaces();
|
||||||
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_isDisposed(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
return (QtSupport::getQt(env, obj) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jobject JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_metaObject(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEUniqueApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jint JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_newInstance(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
jint xret = (jint) ((TDEUniqueApplication*) QtSupport::getQt(env, obj))->newInstance();
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||||||
|
QtSupport::setQt(env, obj, new TDEUniqueApplicationJBridge());
|
||||||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles)
|
||||||
|
{
|
||||||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||||||
|
QtSupport::setQt(env, obj, new TDEUniqueApplicationJBridge((bool) allowStyles));
|
||||||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled)
|
||||||
|
{
|
||||||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||||||
|
QtSupport::setQt(env, obj, new TDEUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled));
|
||||||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__ZZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jboolean configUnique)
|
||||||
|
{
|
||||||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||||||
|
QtSupport::setQt(env, obj, new TDEUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (bool) configUnique));
|
||||||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jstring JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_objId(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
TQCString _qstring;
|
||||||
|
_qstring = ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->objId();
|
||||||
|
return QtSupport::fromTQCString(env, &_qstring);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jstring JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_objectName(JNIEnv* env, jclass cls, jobject arg1)
|
||||||
|
{
|
||||||
|
TQCString _qstring;
|
||||||
|
(void) cls;
|
||||||
|
_qstring = TDEUniqueApplicationJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1));
|
||||||
|
return QtSupport::fromTQCString(env, &_qstring);
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_fun = 0;
|
||||||
|
static TQByteArray* _qbyteArray_data = 0;
|
||||||
|
static TQCString* _qcstring_replyType = 0;
|
||||||
|
if (_qcstring_replyType == 0) {
|
||||||
|
_qcstring_replyType = new TQCString();
|
||||||
|
}
|
||||||
|
static TQByteArray* _qbyteArray_replyData = 0;
|
||||||
|
jboolean xret = (jboolean) ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
|
||||||
|
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_fun = 0;
|
||||||
|
static TQByteArray* _qbyteArray_data = 0;
|
||||||
|
static TQCString* _qcstring_replyType = 0;
|
||||||
|
if (_qcstring_replyType == 0) {
|
||||||
|
_qcstring_replyType = new TQCString();
|
||||||
|
}
|
||||||
|
static TQByteArray* _qbyteArray_replyData = 0;
|
||||||
|
jboolean xret = (jboolean) ((TDEUniqueApplication*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
|
||||||
|
QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_restoringSession(JNIEnv* env, jobject obj)
|
||||||
|
{
|
||||||
|
jboolean xret = (jboolean) ((TDEUniqueApplication*) QtSupport::getQt(env, obj))->restoringSession();
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1)
|
||||||
|
{
|
||||||
|
((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_setHandleAutoStarted(JNIEnv* env, jclass cls)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
(void) env;
|
||||||
|
TDEUniqueApplicationJBridge::setHandleAutoStarted();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_setObjId(JNIEnv* env, jobject obj, jstring objId)
|
||||||
|
{
|
||||||
|
static TQCString* _qcstring_objId = 0;
|
||||||
|
jboolean xret = (jboolean) ((DCOPObject*)(TDEUniqueApplication*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
||||||
|
JNIEXPORT jboolean JNICALL
|
||||||
|
Java_org_trinitydesktop_koala_TDEUniqueApplication_start(JNIEnv* env, jclass cls)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
(void) env;
|
||||||
|
jboolean xret = (jboolean) TDEUniqueApplicationJBridge::start();
|
||||||
|
return xret;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
|||||||
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||||
|
|
||||||
|
#ifndef __org_trinitydesktop_koala_TDEUniqueApplication__
|
||||||
|
#define __org_trinitydesktop_koala_TDEUniqueApplication__
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_metaObject (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_className (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__ZZZ (JNIEnv *env, jobject, jboolean, jboolean, jboolean);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__Z (JNIEnv *env, jobject, jboolean);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_newTDEUniqueApplication__ (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray);
|
||||||
|
extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_newInstance (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_restoringSession (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_addCmdLineOptions (JNIEnv *env, jclass);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_start (JNIEnv *env, jclass);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_setHandleAutoStarted (JNIEnv *env, jclass);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_finalize (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_dispose (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_isDisposed (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_objId (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_setObjId (JNIEnv *env, jobject, jstring);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_functionsDynamic (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_interfacesDynamic (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_interfaces (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_functions (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_callingDcopClient (JNIEnv *env, jobject);
|
||||||
|
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_setCallingDcopClient (JNIEnv *env, jobject, jobject);
|
||||||
|
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_hasObject (JNIEnv *env, jclass, jstring);
|
||||||
|
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_find (JNIEnv *env, jclass, jstring);
|
||||||
|
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_koala_TDEUniqueApplication_objectName (JNIEnv *env, jclass, jobject);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __org_trinitydesktop_koala_TDEUniqueApplication__ */
|
Loading…
Reference in new issue