diff options
Diffstat (limited to 'kdejava/koala/kdejava/TDEToggleToolBarAction.cpp')
-rw-r--r-- | kdejava/koala/kdejava/TDEToggleToolBarAction.cpp | 189 |
1 files changed, 0 insertions, 189 deletions
diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp b/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp deleted file mode 100644 index 355543ce..00000000 --- a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeactionclasses.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEToggleToolBarAction.h> - -class TDEToggleToolBarActionJBridge : public TDEToggleToolBarAction -{ -public: - TDEToggleToolBarActionJBridge(const char* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - TDEToggleToolBarActionJBridge(TDEToolBar* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - ~TDEToggleToolBarActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleToolBarAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleToolBarAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleToolBarAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleToolBarAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring toolBarName, jstring text, jobject parent, jstring name) -{ -static TQCString* _qstring_toolBarName = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleToolBarActionJBridge((const char*) QtSupport::toCharString(env, toolBarName, &_qstring_toolBarName), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) 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_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject toolBar, jstring text, 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 TDEToggleToolBarActionJBridge((TDEToolBar*) QtSupport::getQt(env, toolBar), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - |