diff options
Diffstat (limited to 'kdejava/koala/kdejava/KWidgetAction.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KWidgetAction.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kdejava/koala/kdejava/KWidgetAction.cpp b/kdejava/koala/kdejava/KWidgetAction.cpp index cfc752df..86d5e0d9 100644 --- a/kdejava/koala/kdejava/KWidgetAction.cpp +++ b/kdejava/koala/kdejava/KWidgetAction.cpp @@ -10,7 +10,7 @@ class KWidgetActionJBridge : public KWidgetAction { public: - KWidgetActionJBridge(TQWidget* arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + KWidgetActionJBridge(TTQWidget* arg1,const TTQString& arg2,const KShortcut& arg3,const TTQObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; void protected_slotToolbarDestroyed() { KWidgetAction::slotToolbarDestroyed(); return; @@ -22,8 +22,8 @@ public: } return; } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { + void unplug(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TTQWidget")) { KWidgetAction::unplug(arg1); } return; @@ -37,14 +37,14 @@ public: } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { + void setIconSet(const TTQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TTQIconSet")) { KAction::setIconSet(arg1); } return; @@ -64,36 +64,36 @@ public: } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } bool isShortcutConfigurable() { return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); } - bool eventFilter(TQObject* object,TQEvent* event) { + bool eventFilter(TTQObject* object,TTQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWidgetAction",object,event)) { - return TQObject::eventFilter(object,event); + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -134,17 +134,17 @@ Java_org_kde_koala_KWidgetAction_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_newKWidgetAction(JNIEnv* env, jobject obj, jobject widget, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) { -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWidgetActionJBridge((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new KWidgetActionJBridge((TTQWidget*) QtSupport::getQt(env, widget), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -153,14 +153,14 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) { - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TTQWidget*) QtSupport::getQt(env, widget)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) { - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TTQWidget*) QtSupport::getQt(env, widget), (int) index); return xret; } @@ -181,14 +181,14 @@ Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_unplug(JNIEnv* env, jobject obj, jobject w) { - ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); + ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((TTQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_widget(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } |