diff options
Diffstat (limited to 'tdejava/koala/tdejava/KPrintAction.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KPrintAction.cpp | 455 |
1 files changed, 455 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KPrintAction.cpp b/tdejava/koala/tdejava/KPrintAction.cpp new file mode 100644 index 00000000..0a12e04c --- /dev/null +++ b/tdejava/koala/tdejava/KPrintAction.cpp @@ -0,0 +1,455 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kprintaction.h> +#include <tqiconset.h> +#include <tqstring.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/KPrintAction.h> + +class KPrintActionJBridge : public KPrintAction +{ +public: + KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4,const char* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; + KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; + KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3) : KPrintAction(arg1,arg2,arg3) {}; + KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2) : KPrintAction(arg1,arg2) {}; + KPrintActionJBridge(const TQString& arg1) : KPrintAction(arg1) {}; + KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; + KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; + KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; + KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KPrintAction(arg1,arg2) {}; + KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; + KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; + KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; + KPrintActionJBridge(const TQString& arg1,const TQString& arg2) : KPrintAction(arg1,arg2) {}; + void protected_initialize(KPrintAction::PrinterType arg1,TQWidget* arg2) { + KPrintAction::initialize(arg1,arg2); + return; + } + void protected_slotAboutToShow() { + KPrintAction::slotAboutToShow(); + return; + } + void protected_slotActivated(int arg1) { + KPrintAction::slotActivated(arg1); + return; + } + ~KPrintActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KPrintAction","activate")) { + TDEAction::activate(); + } + return; + } + void unplug(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) { + TDEAction::unplug(arg1); + } + return; + } + bool hasIcon() { + return QtSupport::booleanDelegate(this,"hasIcon"); + } + void slotKeycodeChanged() { + if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KPrintAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void setIconSet(const TQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.trinitydesktop.qt.TQIconSet")) { + TDEAction::setIconSet(arg1); + } + return; + } + bool isEnabled() { + return QtSupport::booleanDelegate(this,"isEnabled"); + } + void slotDestroyed() { + if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KPrintAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void remove(TDEAction* arg1) { + if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.trinitydesktop.koala.TDEAction")) { + TDEActionMenu::remove(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 insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + bool isShortcutConfigurable() { + return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.KPrintAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_KPrintAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((KPrintAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_trinitydesktop_koala_KPrintAction_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportAll__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll(), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportAll__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportAll__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportAll__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportRegular__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular(), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportRegular__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportRegular__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportRegular__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportSpecial__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial(), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportSpecial__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportSpecial__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_exportSpecial__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) +{ + (void) cls; +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.trinitydesktop.koala.KPrintAction"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPrintAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (KPrintAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_initialize(JNIEnv* env, jobject obj, jint type, jobject parentWidget) +{ + ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_initialize((KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KPrintAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_trinitydesktop_koala_KPrintAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KPrintAction*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint type) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject icon) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2I(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_slotAboutToShow(JNIEnv* env, jobject obj) +{ + ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotAboutToShow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KPrintAction_slotActivated(JNIEnv* env, jobject obj, jint arg1) +{ + ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); + return; +} + |