diff options
Diffstat (limited to 'kdejava/koala')
329 files changed, 20633 insertions, 20633 deletions
diff --git a/kdejava/koala/examples/kscribble/KPenBrushDlg.java b/kdejava/koala/examples/kscribble/KPenBrushDlg.java index 61b8f969..a1fb0502 100644 --- a/kdejava/koala/examples/kscribble/KPenBrushDlg.java +++ b/kdejava/koala/examples/kscribble/KPenBrushDlg.java @@ -8,9 +8,9 @@ import org.kde.koala.*; * window and reads the config file as well as providing a menubar, toolbar * and statusbar. An instance of KBaseView creates your center view, which is connected * to the window's Doc object. - * KBase reimplements the methods that KMainWindow provides for main window handling and supports - * full session management as well as using KActions. - * @see KMainWindow + * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports + * full session management as well as using TDEActions. + * @see TDEMainWindow * @see TDEApplication * @see TDEConfig * diff --git a/kdejava/koala/examples/kscribble/KScribbleApp.java b/kdejava/koala/examples/kscribble/KScribbleApp.java index b2009802..f0ea02ad 100644 --- a/kdejava/koala/examples/kscribble/KScribbleApp.java +++ b/kdejava/koala/examples/kscribble/KScribbleApp.java @@ -9,17 +9,17 @@ import org.kde.koala.*; * Child windows are created in createClient(), which gets a document instance as it's document to * display whereby one document can have several views.The MDI child is an instance of KScribbleView, * the document an instance of KScribbleDoc. - * KScribbleApp reimplements the methods that KMainWindow provides for main window handling and supports - * full session management as well as keyboard accelerator configuration by using KAccel. - * @see KMainWindow + * KScribbleApp reimplements the methods that TDEMainWindow provides for main window handling and supports + * full session management as well as keyboard accelerator configuration by using TDEAccel. + * @see TDEMainWindow * @see TDEApplication * @see TDEConfig - * @see KAccel + * @see TDEAccel * * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @version KDevelop version 1.1 code generation */ -public class KScribbleApp extends KMainWindow implements Resource { +public class KScribbleApp extends TDEMainWindow implements Resource { /** the configuration object of the application */ private TDEConfig config; @@ -84,26 +84,26 @@ public class KScribbleApp extends KMainWindow implements Resource { this(null, null); } - /** initializes the KActions of the application */ + /** initializes the TDEActions of the application */ protected void initKeyAccel() { - KAccel keyAccel = new KAccel(this); + TDEAccel keyAccel = new TDEAccel(this); // fileMenu accelerators - keyAccel.insert(KStdAccel.New, this, SLOT("slotFileNew()")); - keyAccel.insert(KStdAccel.Open, this, SLOT("slotFileOpen()")); - keyAccel.insert(KStdAccel.Save, this, SLOT("slotFileSave()")); - keyAccel.insert(KStdAccel.Close, this, SLOT("slotFileClose()")); - keyAccel.insert(KStdAccel.Print, this, SLOT("slotFilePrint()")); - keyAccel.insert(KStdAccel.Quit, this, SLOT("slotFileQuit()")); + keyAccel.insert(TDEStdAccel.New, this, SLOT("slotFileNew()")); + keyAccel.insert(TDEStdAccel.Open, this, SLOT("slotFileOpen()")); + keyAccel.insert(TDEStdAccel.Save, this, SLOT("slotFileSave()")); + keyAccel.insert(TDEStdAccel.Close, this, SLOT("slotFileClose()")); + keyAccel.insert(TDEStdAccel.Print, this, SLOT("slotFilePrint()")); + keyAccel.insert(TDEStdAccel.Quit, this, SLOT("slotFileQuit()")); // editMenu accelerators - keyAccel.insert(KStdAccel.Cut, this, SLOT("slotEditCut()")); - keyAccel.insert(KStdAccel.Copy, this, SLOT("slotEditCopy()")); - keyAccel.insert(KStdAccel.Paste, this, SLOT("slotEditPaste()")); + keyAccel.insert(TDEStdAccel.Cut, this, SLOT("slotEditCut()")); + keyAccel.insert(TDEStdAccel.Copy, this, SLOT("slotEditCopy()")); + keyAccel.insert(TDEStdAccel.Paste, this, SLOT("slotEditPaste()")); // help accelerator - keyAccel.insert(KStdAccel.Help, this, SLOT("appHelpActivated()")); + keyAccel.insert(TDEStdAccel.Help, this, SLOT("appHelpActivated()")); keyAccel.readSettings(); @@ -611,8 +611,8 @@ public class KScribbleApp extends KMainWindow implements Resource { } // bar position settings - int toolBarPos = KToolBar.Top; - toolBarPos = config.readUnsignedNumEntry("ToolBarPos", KToolBar.Top); + int toolBarPos = TDEToolBar.Top; + toolBarPos = config.readUnsignedNumEntry("ToolBarPos", TDEToolBar.Top); toolBar().setBarPos(toolBarPos); // initialize the recent file list @@ -819,13 +819,13 @@ public class KScribbleApp extends KMainWindow implements Resource { saveOptions(); // close the first window, the list makes the next one the first again. // This ensures that queryClose() is called on each window to ask for closing - KMainWindow w; + TDEMainWindow w; ArrayList memberlist = memberList(); if(memberlist != null) { Iterator it = memberlist.iterator(); while (it.hasNext()) { - w = (KMainWindow)it.next(); + w = (TDEMainWindow)it.next(); // only close the window if the closeEvent is accepted. If the user // presses Cancel on the saveModified() dialog, // the window and the application stay open. diff --git a/kdejava/koala/examples/kscribble/KScribbleDoc.java b/kdejava/koala/examples/kscribble/KScribbleDoc.java index c9d0bf11..089a3adb 100644 --- a/kdejava/koala/examples/kscribble/KScribbleDoc.java +++ b/kdejava/koala/examples/kscribble/KScribbleDoc.java @@ -6,7 +6,7 @@ import org.kde.koala.*; /** KScribbleDoc provides a document object for a document-view model. * * The KScribbleDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KScribbleView - * to create a document-view model for standard KDE applications based on TDEApplication and KMainWindow. Thereby, the document object + * to create a document-view model for standard KDE applications based on TDEApplication and TDEMainWindow. Thereby, the document object * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document * data by KScribbleView objects. Also, KScribbleDoc contains the methods for serialization of the document data from and to files. * diff --git a/kdejava/koala/examples/kscribble/KScribbleView.java b/kdejava/koala/examples/kscribble/KScribbleView.java index 05bc0d47..17b80ff7 100644 --- a/kdejava/koala/examples/kscribble/KScribbleView.java +++ b/kdejava/koala/examples/kscribble/KScribbleView.java @@ -2,7 +2,7 @@ import org.kde.qt.*; import org.kde.koala.*; /** The KScribbleView class provides the view widget for the KScribble instance. - * The View instance inherits TQWidget as a base class and represents the view object of a KMainWindow. As KScribbleView is part of the + * The View instance inherits TQWidget as a base class and represents the view object of a TDEMainWindow. As KScribbleView is part of the * docuement-view model, it needs a reference to the document object connected with it by the KScribble class to manipulate and display * the document structure provided by the KScribbleDoc class. * diff --git a/kdejava/koala/examples/kscribble/Main.java b/kdejava/koala/examples/kscribble/Main.java index 01f8d2d5..b797f8a5 100644 --- a/kdejava/koala/examples/kscribble/Main.java +++ b/kdejava/koala/examples/kscribble/Main.java @@ -18,9 +18,9 @@ import org.kde.koala.*; * window and reads the config file as well as providing a menubar, toolbar * and statusbar. An instance of KBaseView creates your center view, which is connected * to the window's Doc object. - * KBase reimplements the methods that KMainWindow provides for main window handling and supports - * full session management as well as using KActions. - * @see KMainWindow + * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports + * full session management as well as using TDEActions. + * @see TDEMainWindow * @see TDEApplication * @see TDEConfig * diff --git a/kdejava/koala/examples/simplemail/SimpleMailFrm.java b/kdejava/koala/examples/simplemail/SimpleMailFrm.java index f4c22a53..93b3d4e0 100644 --- a/kdejava/koala/examples/simplemail/SimpleMailFrm.java +++ b/kdejava/koala/examples/simplemail/SimpleMailFrm.java @@ -16,7 +16,7 @@ import java.util.LinkedList; -class SimpleMailFrm extends KMainWindow { +class SimpleMailFrm extends TDEMainWindow { TQGroupBox groupBox1; diff --git a/kdejava/koala/kdejava/DockMainWindow.cpp b/kdejava/koala/kdejava/DockMainWindow.cpp index 8cd0c023..a1ef9413 100644 --- a/kdejava/koala/kdejava/DockMainWindow.cpp +++ b/kdejava/koala/kdejava/DockMainWindow.cpp @@ -57,7 +57,7 @@ public: } void resizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMainWindow::resizeEvent(arg1); + TDEMainWindow::resizeEvent(arg1); } return; } @@ -96,7 +96,7 @@ public: } void show() { if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","show")) { - KMainWindow::show(); + TDEMainWindow::show(); } return; } @@ -120,7 +120,7 @@ public: } void hide() { if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","hide")) { - KMainWindow::hide(); + TDEMainWindow::hide(); } return; } @@ -144,7 +144,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KMainWindow::paintEvent(arg1); + TDEMainWindow::paintEvent(arg1); } return; } @@ -168,13 +168,13 @@ public: } void showAboutApplication() { if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","showAboutApplication")) { - KMainWindow::showAboutApplication(); + TDEMainWindow::showAboutApplication(); } return; } void readGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readGlobalProperties(arg1); + TDEMainWindow::readGlobalProperties(arg1); } return; } @@ -195,7 +195,7 @@ public: } void saveProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveProperties(arg1); + TDEMainWindow::saveProperties(arg1); } return; } @@ -252,13 +252,13 @@ public: } void closeEvent(TQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMainWindow::closeEvent(arg1); + TDEMainWindow::closeEvent(arg1); } return; } void readProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readProperties(arg1); + TDEMainWindow::readProperties(arg1); } return; } @@ -300,7 +300,7 @@ public: } void childEvent(TQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KMainWindow::childEvent(arg1); + TDEMainWindow::childEvent(arg1); } return; } @@ -318,7 +318,7 @@ public: } void setIcon(const TQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMainWindow::setIcon(arg1); + TDEMainWindow::setIcon(arg1); } return; } @@ -417,7 +417,7 @@ public: } void saveGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveGlobalProperties(arg1); + TDEMainWindow::saveGlobalProperties(arg1); } return; } diff --git a/kdejava/koala/kdejava/KAccel.cpp b/kdejava/koala/kdejava/KAccel.cpp deleted file mode 100644 index da01c133..00000000 --- a/kdejava/koala/kdejava/KAccel.cpp +++ /dev/null @@ -1,361 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kstdaccel.h> -#include <kaccel.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAccel.h> - -class KAccelJBridge : public KAccel -{ -public: - KAccelJBridge(TQWidget* arg1,const char* arg2) : KAccel(arg1,arg2) {}; - KAccelJBridge(TQWidget* arg1) : KAccel(arg1) {}; - KAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KAccel(arg1,arg2,arg3) {}; - KAccelJBridge(TQWidget* arg1,TQObject* arg2) : KAccel(arg1,arg2) {}; - ~KAccelJBridge() {QtSupport::qtKeyDeleted(this);} - 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 removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_actions(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KAccelActions *) &((KAccel*) QtSupport::getQt(env, obj))->actions(), "org.kde.koala.KAccelActions"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAccel_configGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAccel*) QtSupport::getQt(env, obj))->configGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAccel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_emitKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((KAccel*) QtSupport::getQt(env, obj))->emitKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((KStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((KStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((KStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pParent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_remove(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_setAutoUpdate(JNIEnv* env, jobject obj, jboolean bAuto) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) bAuto); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_setEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->setEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnabled); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccel_setEnabled__Z(JNIEnv* env, jobject obj, jboolean bEnabled) -{ - ((KAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) bEnabled); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_updateConnections(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->updateConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((KAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KAccel.h b/kdejava/koala/kdejava/KAccel.h deleted file mode 100644 index 20797354..00000000 --- a/kdejava/koala/kdejava/KAccel.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAccel__ -#define __org_kde_koala_KAccel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_newKAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_actions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_setEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_updateConnections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccel_shortcut (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_setEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccel_configGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_setConfigGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_writeSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_emitKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAccel__ */ diff --git a/kdejava/koala/kdejava/KAccelShortcutList.cpp b/kdejava/koala/kdejava/KAccelShortcutList.cpp deleted file mode 100644 index 9bdb7e6e..00000000 --- a/kdejava/koala/kdejava/KAccelShortcutList.cpp +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqvariant.h> -#include <kshortcutlist.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAccelShortcutList.h> - -class KAccelShortcutListJBridge : public KAccelShortcutList -{ -public: - KAccelShortcutListJBridge(KAccel* arg1) : KAccelShortcutList(arg1) {}; - KAccelShortcutListJBridge(TDEGlobalAccel* arg1) : KAccelShortcutList(arg1) {}; - KAccelShortcutListJBridge(KAccelActions& arg1,bool arg2) : KAccelShortcutList(arg1,arg2) {}; - ~KAccelShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAccelShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccelShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAccelShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccelShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KAccelShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccelShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KAccelShortcutList*) QtSupport::getQt(env, obj))->getOther((KShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAccelShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KAccelShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAccelShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KAccelShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccelActions_2Z(JNIEnv* env, jobject obj, jobject actions, jboolean bGlobal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelShortcutListJBridge((KAccelActions&)*(KAccelActions*) QtSupport::getQt(env, actions), (bool) bGlobal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelShortcutListJBridge((KAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAccelShortcutListJBridge((TDEGlobalAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->setOther((KShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAccelShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((KAccelShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccelShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAccelShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAccelShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAccelShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAccelShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KAccelShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KAccelShortcutList.h b/kdejava/koala/kdejava/KAccelShortcutList.h deleted file mode 100644 index 71f79bf9..00000000 --- a/kdejava/koala/kdejava/KAccelShortcutList.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAccelShortcutList__ -#define __org_kde_koala_KAccelShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccelActions_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAccelShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccelShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccelShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccelShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccelShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccelShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAccelShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAccelShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAccelShortcutList__ */ diff --git a/kdejava/koala/kdejava/KAction.cpp b/kdejava/koala/kdejava/KAction.cpp deleted file mode 100644 index ac591360..00000000 --- a/kdejava/koala/kdejava/KAction.cpp +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kaction.h> -#include <tqiconset.h> -#include <kicontheme.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <kshortcut.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KAction.h> - -class KActionJBridge : public KAction -{ -public: - KActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,KActionCollection* arg5,const char* arg6) : KAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KActionJBridge(const KGuiItem& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,KActionCollection* arg5,const char* arg6) : KAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void public_activate() { - KAction::activate(); - return; - } - KToolBar* protected_toolBar(int arg1) { - return (KToolBar*) KAction::toolBar(arg1); - } - TQPopupMenu* protected_popupMenu(int arg1) { - return (TQPopupMenu*) KAction::popupMenu(arg1); - } - void protected_removeContainer(int arg1) { - KAction::removeContainer(arg1); - return; - } - int protected_findContainer(const TQWidget* arg1) { - return (int) KAction::findContainer(arg1); - } - int protected_findContainer(int arg1) { - return (int) KAction::findContainer(arg1); - } - void protected_plugMainWindowAccel(TQWidget* arg1) { - KAction::plugMainWindowAccel(arg1); - return; - } - void protected_addContainer(TQWidget* arg1,int arg2) { - KAction::addContainer(arg1,arg2); - return; - } - void protected_addContainer(TQWidget* arg1,TQWidget* arg2) { - KAction::addContainer(arg1,arg2); - return; - } - void protected_updateShortcut(int arg1) { - KAction::updateShortcut(arg1); - return; - } - void protected_updateShortcut(TQPopupMenu* arg1,int arg2) { - KAction::updateShortcut(arg1,arg2); - return; - } - void protected_updateGroup(int arg1) { - KAction::updateGroup(arg1); - return; - } - void protected_updateText(int arg1) { - KAction::updateText(arg1); - return; - } - void protected_updateEnabled(int arg1) { - KAction::updateEnabled(arg1); - return; - } - void protected_updateIconSet(int arg1) { - KAction::updateIconSet(arg1); - return; - } - void protected_updateIcon(int arg1) { - KAction::updateIcon(arg1); - return; - } - void protected_updateToolTip(int arg1) { - KAction::updateToolTip(arg1); - return; - } - void protected_updateWhatsThis(int arg1) { - KAction::updateWhatsThis(arg1); - return; - } - TQString protected_whatsThisWithIcon() { - return (TQString) KAction::whatsThisWithIcon(); - } - const KGuiItem& protected_guiItem() { - return (const KGuiItem&) KAction::guiItem(); - } - void protected_slotDestroyed() { - KAction::slotDestroyed(); - return; - } - void protected_slotKeycodeChanged() { - KAction::slotKeycodeChanged(); - return; - } - void protected_slotActivated() { - KAction::slotActivated(); - return; - } - void protected_slotPopupActivated() { - KAction::slotPopupActivated(); - return; - } - void protected_slotButtonClicked(int arg1,TQt::ButtonState arg2) { - KAction::slotButtonClicked(arg1,arg2); - return; - } - ~KActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","activate")) { - KAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotActivated")) { - KAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - 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 slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_activate(JNIEnv* env, jobject obj) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->public_activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, representative)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_containerCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->containerCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_container(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->container((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_findContainer__I(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_findContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((const TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_getToolButtonID(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KActionJBridge::getToolButtonID(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_guiItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KGuiItem *) &((KActionJBridge*) QtSupport::getQt(env, obj))->protected_guiItem(), "org.kde.koala.KGuiItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_hasIconSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->hasIconSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_hasIcon(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->hasIcon(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_iconSet__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isPlugged__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject container, jint id) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container, jobject _representative) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (const TQWidget*) QtSupport::getQt(env, _representative)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_isShortcutConfigurable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isShortcutConfigurable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_itemId(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->itemId((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_kaccelCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->kaccelCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_newKAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_parentCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.kde.koala.KActionCollection"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_plainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->plainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_popupMenu(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionJBridge*) QtSupport::getQt(env, obj))->protected_popupMenu((int) index), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_removeContainer(JNIEnv* env, jobject obj, jint index) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_removeContainer((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_representative(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setDisabled(JNIEnv* env, jobject obj, jboolean disable) -{ - ((KAction*) QtSupport::getQt(env, obj))->setDisabled((bool) disable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KAction*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setGroup(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KAction*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) -{ - ((KAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((KAction*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setShortcutConfigurable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KAction*) QtSupport::getQt(env, obj))->setShortcutConfigurable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KAction*) QtSupport::getQt(env, obj))->setShortcutText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAction_setShortcut(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->setShortcut((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_shortcutDefault(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_shortcutText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->shortcutText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_shortcut(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAction*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_slotButtonClicked(JNIEnv* env, jobject obj, jint arg1, jint state) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotButtonClicked((int) arg1, (TQt::ButtonState) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_slotDestroyed(JNIEnv* env, jobject obj) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_slotKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_slotPopupActivated(JNIEnv* env, jobject obj) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotPopupActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_statusText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->statusText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAction_toolBar(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.kde.koala.KToolBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_unplugAll(JNIEnv* env, jobject obj) -{ - ((KAction*) QtSupport::getQt(env, obj))->unplugAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_unplug(JNIEnv* env, jobject obj, jobject w) -{ - ((KAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateEnabled(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateEnabled((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateGroup(JNIEnv* env, jobject obj, jint id) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateGroup((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateIconSet(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIconSet((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateIcon(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIcon((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateShortcut__I(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject menu, jint id) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((TQPopupMenu*) QtSupport::getQt(env, menu), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateText(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateText((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateToolTip(JNIEnv* env, jobject obj, jint id) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateToolTip((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAction_updateWhatsThis(JNIEnv* env, jobject obj, jint i) -{ - ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateWhatsThis((int) i); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_whatsThisWithIcon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAction_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAction*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KAction.h b/kdejava/koala/kdejava/KAction.h deleted file mode 100644 index 0512f681..00000000 --- a/kdejava/koala/kdejava/KAction.h +++ /dev/null @@ -1,95 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAction__ -#define __org_kde_koala_KAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_newKAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_unplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isPlugged__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_container (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_itemId (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_representative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_containerCount (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_kaccelCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_hasIcon (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_hasIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_plainText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_shortcut (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_shortcutDefault (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_shortcutText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setShortcutText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isShortcutConfigurable (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_group (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_iconSet__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_iconSet__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_parentCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_unplugAll (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_statusText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_setShortcutConfigurable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_activate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_getToolButtonID (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_toolBar (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_popupMenu (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_removeContainer (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_findContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAction_findContainer__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_plugMainWindowAccel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateGroup (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateIconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateIcon (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateToolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_updateWhatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAction_whatsThisWithIcon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAction_guiItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_slotDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_slotKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_slotPopupActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_slotButtonClicked (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAction__ */ diff --git a/kdejava/koala/kdejava/KActionCollection.cpp b/kdejava/koala/kdejava/KActionCollection.cpp deleted file mode 100644 index 7b0c6e18..00000000 --- a/kdejava/koala/kdejava/KActionCollection.cpp +++ /dev/null @@ -1,437 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactioncollection.h> -#include <tqstring.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KActionCollection.h> - -class KActionCollectionJBridge : public KActionCollection -{ -public: - KActionCollectionJBridge(TQWidget* arg1,const char* arg2,TDEInstance* arg3) : KActionCollection(arg1,arg2,arg3) {}; - KActionCollectionJBridge(TQWidget* arg1,const char* arg2) : KActionCollection(arg1,arg2) {}; - KActionCollectionJBridge(TQWidget* arg1) : KActionCollection(arg1) {}; - KActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3,TDEInstance* arg4) : KActionCollection(arg1,arg2,arg3,arg4) {}; - KActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KActionCollection(arg1,arg2,arg3) {}; - KActionCollectionJBridge(TQWidget* arg1,TQObject* arg2) : KActionCollection(arg1,arg2) {}; - KActionCollectionJBridge(const KActionCollection& arg1) : KActionCollection(arg1) {}; - KActionCollectionJBridge(TQObject* arg1,const char* arg2,TDEInstance* arg3) : KActionCollection(arg1,arg2,arg3) {}; - KActionCollectionJBridge(TQObject* arg1,const char* arg2) : KActionCollection(arg1,arg2) {}; - KActionCollectionJBridge(TQObject* arg1) : KActionCollection(arg1) {}; - ~KActionCollectionJBridge() {QtSupport::qtKeyDeleted(this);} - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - KActionCollection::setWidget(arg1); - } - 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 removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KActionCollection",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_action__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->action((int) index), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring classname) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_addDocCollection(JNIEnv* env, jobject obj, jobject pDoc) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->addDocCollection((KActionCollection*) QtSupport::getQt(env, pDoc)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_builderKAccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->builderKAccel(), "org.kde.koala.KAccel"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionCollection_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KActionCollection*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_clear(JNIEnv* env, jobject obj) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_connectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->connectHighlight((TQWidget*) QtSupport::getQt(env, container), (KAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KActionCollection_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KActionCollection*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_disconnectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->disconnectHighlight((TQWidget*) QtSupport::getQt(env, container), (KAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActionCollection_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KActionCollection*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KActionCollection*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_groups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KActionCollection*) QtSupport::getQt(env, obj))->groups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_highlightingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->highlightingEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_insert(JNIEnv* env, jobject obj, jobject action) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->insert((KAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_isAutoConnectShortcuts(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->isAutoConnectShortcuts(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_kaccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->kaccel(), "org.kde.koala.KAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject copy) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((const KActionCollection&)*(const KActionCollection*) QtSupport::getQt(env, copy))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((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_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) 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_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (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_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KActionCollection *) &((KActionCollection*) QtSupport::getQt(env, obj))->operator+=((const KActionCollection&)*(const KActionCollection*) QtSupport::getQt(env, arg1)), "org.kde.koala.KActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_op_1plus(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KActionCollection(((KActionCollection*) QtSupport::getQt(env, obj))->operator+((const KActionCollection&)*(const KActionCollection*) QtSupport::getQt(env, arg1))), "org.kde.koala.KActionCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_parentGUIClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->parentGUIClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_readShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_readShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_remove(JNIEnv* env, jobject obj, jobject action) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->remove((KAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_setAutoConnectShortcuts(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->setAutoConnectShortcuts((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_setHighlightingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->setHighlightingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionCollection_setWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((KActionCollection*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionCollection_take(JNIEnv* env, jobject obj, jobject action) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionCollection*) QtSupport::getQt(env, obj))->take((KAction*) QtSupport::getQt(env, action)), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_writeShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_writeShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KActionCollection.h b/kdejava/koala/kdejava/KActionCollection.h deleted file mode 100644 index dab6c265..00000000 --- a/kdejava/koala/kdejava/KActionCollection.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActionCollection__ -#define __org_kde_koala_KActionCollection__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionCollection_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_setAutoConnectShortcuts (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_isAutoConnectShortcuts (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_addDocCollection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_kaccel (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_builderKAccel (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionCollection_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_action__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_groups (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_readShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_readShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_writeShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_writeShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_instance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_setHighlightingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_highlightingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_connectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_disconnectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_parentGUIClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_newKActionCollection__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_insert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_take (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_op_1plus (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionCollection_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionCollection_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionCollection_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActionCollection__ */ diff --git a/kdejava/koala/kdejava/KActionMenu.cpp b/kdejava/koala/kdejava/KActionMenu.cpp deleted file mode 100644 index 99f20bb1..00000000 --- a/kdejava/koala/kdejava/KActionMenu.cpp +++ /dev/null @@ -1,367 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqiconset.h> -#include <kactionclasses.h> -#include <tqstring.h> -#include <tqpoint.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KActionMenu.h> - -class KActionMenuJBridge : public KActionMenu -{ -public: - KActionMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : KActionMenu(arg1,arg2,arg3) {}; - KActionMenuJBridge(const TQString& arg1,TQObject* arg2) : KActionMenu(arg1,arg2) {}; - KActionMenuJBridge(const TQString& arg1) : KActionMenu(arg1) {}; - KActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3,const char* arg4) : KActionMenu(arg1,arg2,arg3,arg4) {}; - KActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3) : KActionMenu(arg1,arg2,arg3) {}; - KActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2) : KActionMenu(arg1,arg2) {}; - KActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KActionMenu(arg1,arg2,arg3,arg4) {}; - KActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : KActionMenu(arg1,arg2,arg3) {}; - KActionMenuJBridge(const TQString& arg1,const TQString& arg2) : KActionMenu(arg1,arg2) {}; - KActionMenuJBridge(TQObject* arg1,const char* arg2) : KActionMenu(arg1,arg2) {}; - KActionMenuJBridge(TQObject* arg1) : KActionMenu(arg1) {}; - KActionMenuJBridge() : KActionMenu() {}; - ~KActionMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionMenu","activate")) { - KAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionMenu","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void remove(KAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.KAction")) { - KActionMenu::remove(arg1); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionMenu","slotActivated")) { - KAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - 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 slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionMenu","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KActionMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KActionMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionMenu_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionMenu*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActionMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KActionMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KActionMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_insert__Lorg_kde_koala_KAction_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->insert((KAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_insert__Lorg_kde_koala_KAction_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->insert((KAction*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__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 KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__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 KActionMenuJBridge((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_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, 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 KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (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_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_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 KActionMenuJBridge((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_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, 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 KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (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_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, 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 KActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_kde_koala_KActionMenu_newKActionMenu__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_newKActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionMenuJBridge((TQObject*) 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_KActionMenu_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KActionMenu_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionMenu_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionMenu*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_popup(JNIEnv* env, jobject obj, jobject global) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, global)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_remove(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->remove((KAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_setDelayed(JNIEnv* env, jobject obj, jboolean _delayed) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->setDelayed((bool) _delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionMenu_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((KActionMenu*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionMenu_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionMenu*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KActionMenu.h b/kdejava/koala/kdejava/KActionMenu.h deleted file mode 100644 index eae3b038..00000000 --- a/kdejava/koala/kdejava/KActionMenu.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActionMenu__ -#define __org_kde_koala_KActionMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_newKActionMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_insert__Lorg_kde_koala_KAction_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_insert__Lorg_kde_koala_KAction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionMenu_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionMenu_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionMenu_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionMenu_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionMenu_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActionMenu__ */ diff --git a/kdejava/koala/kdejava/KActionSeparator.cpp b/kdejava/koala/kdejava/KActionSeparator.cpp deleted file mode 100644 index a44dacad..00000000 --- a/kdejava/koala/kdejava/KActionSeparator.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KActionSeparator.h> - -class KActionSeparatorJBridge : public KActionSeparator -{ -public: - KActionSeparatorJBridge(TQObject* arg1,const char* arg2) : KActionSeparator(arg1,arg2) {}; - KActionSeparatorJBridge(TQObject* arg1) : KActionSeparator(arg1) {}; - KActionSeparatorJBridge() : KActionSeparator() {}; - ~KActionSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionSeparator","activate")) { - KAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionSeparator","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionSeparator","slotActivated")) { - KAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - 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 slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActionSeparator","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KActionSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KActionSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActionSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KActionSeparator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KActionSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionSeparator_newKActionSeparator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionSeparator_newKActionSeparator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionSeparator_newKActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionSeparatorJBridge((TQObject*) 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_KActionSeparator_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KActionSeparator_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - diff --git a/kdejava/koala/kdejava/KActionSeparator.h b/kdejava/koala/kdejava/KActionSeparator.h deleted file mode 100644 index 66d642d7..00000000 --- a/kdejava/koala/kdejava/KActionSeparator.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActionSeparator__ -#define __org_kde_koala_KActionSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionSeparator_newKActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionSeparator_newKActionSeparator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionSeparator_newKActionSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionSeparator_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionSeparator_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActionSeparator__ */ diff --git a/kdejava/koala/kdejava/KActionShortcutList.cpp b/kdejava/koala/kdejava/KActionShortcutList.cpp deleted file mode 100644 index 47bf32f3..00000000 --- a/kdejava/koala/kdejava/KActionShortcutList.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionshortcutlist.h> -#include <tqstring.h> -#include <tqvariant.h> -#include <kshortcutlist.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KActionShortcutList.h> - -class KActionShortcutListJBridge : public KActionShortcutList -{ -public: - KActionShortcutListJBridge(KActionCollection* arg1) : KActionShortcutList(arg1) {}; - ~KActionShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionShortcutList_action(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionShortcutList*) QtSupport::getQt(env, obj))->action((uint) arg1), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KActionShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KActionShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActionShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KActionShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KActionShortcutList*) QtSupport::getQt(env, obj))->getOther((KShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((KActionShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionShortcutList_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KActionShortcutList*) QtSupport::getQt(env, obj))->label((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionShortcutList_name(JNIEnv* env, jobject obj, jint i) -{ - TQString _qstring; - _qstring = ((KActionShortcutList*) QtSupport::getQt(env, obj))->name((uint) i); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActionShortcutList_newKActionShortcutList(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActionShortcutListJBridge((KActionCollection*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KActionShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((KActionShortcutList*) QtSupport::getQt(env, obj))->setOther((KShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActionShortcutList_setShortcut(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KActionShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) arg1, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KActionShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) arg1), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActionShortcutList_shortcut(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KActionShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) arg1), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActionShortcutList_whatsThis(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KActionShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KActionShortcutList.h b/kdejava/koala/kdejava/KActionShortcutList.h deleted file mode 100644 index fd01cc77..00000000 --- a/kdejava/koala/kdejava/KActionShortcutList.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActionShortcutList__ -#define __org_kde_koala_KActionShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionShortcutList_newKActionShortcutList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KActionShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActionShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActionShortcutList_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActionShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActionShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActionShortcutList__ */ diff --git a/kdejava/koala/kdejava/KCombiView.cpp b/kdejava/koala/kdejava/KCombiView.cpp index 74a8c9bc..a6096bf5 100644 --- a/kdejava/koala/kdejava/KCombiView.cpp +++ b/kdejava/koala/kdejava/KCombiView.cpp @@ -490,7 +490,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } diff --git a/kdejava/koala/kdejava/KComboBox.cpp b/kdejava/koala/kdejava/KComboBox.cpp index 8c2b93ea..265f166f 100644 --- a/kdejava/koala/kdejava/KComboBox.cpp +++ b/kdejava/koala/kdejava/KComboBox.cpp @@ -566,7 +566,7 @@ Java_org_kde_koala_KComboBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_getKeyBinding(JNIEnv* env, jobject obj, jint item) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.KShortcut"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); return xret; } @@ -844,7 +844,7 @@ Java_org_kde_koala_KComboBox_setHandleSignals(JNIEnv* env, jobject obj, jboolean JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) { - jboolean xret = (jboolean) ((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, key)); + jboolean xret = (jboolean) ((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); return xret; } diff --git a/kdejava/koala/kdejava/KCommandHistory.cpp b/kdejava/koala/kdejava/KCommandHistory.cpp index d102cb22..d356c679 100644 --- a/kdejava/koala/kdejava/KCommandHistory.cpp +++ b/kdejava/koala/kdejava/KCommandHistory.cpp @@ -9,8 +9,8 @@ class KCommandHistoryJBridge : public KCommandHistory { public: KCommandHistoryJBridge() : KCommandHistory() {}; - KCommandHistoryJBridge(KActionCollection* arg1,bool arg2) : KCommandHistory(arg1,arg2) {}; - KCommandHistoryJBridge(KActionCollection* arg1) : KCommandHistory(arg1) {}; + KCommandHistoryJBridge(TDEActionCollection* arg1,bool arg2) : KCommandHistory(arg1,arg2) {}; + KCommandHistoryJBridge(TDEActionCollection* arg1) : KCommandHistory(arg1) {}; void public_undo() { KCommandHistory::undo(); return; @@ -174,20 +174,20 @@ Java_org_kde_koala_KCommandHistory_newKCommandHistory__(JNIEnv* env, jobject obj } JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject actionCollection) +Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject actionCollection) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((KActionCollection*) QtSupport::getQt(env, actionCollection))); + QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_KActionCollection_2Z(JNIEnv* env, jobject obj, jobject actionCollection, jboolean withMenus) +Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jobject obj, jobject actionCollection, jboolean withMenus) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((KActionCollection*) QtSupport::getQt(env, actionCollection), (bool) withMenus)); + QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (bool) withMenus)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/kdejava/koala/kdejava/KCommandHistory.h b/kdejava/koala/kdejava/KCommandHistory.h index 27b96004..7c3bcc0e 100644 --- a/kdejava/koala/kdejava/KCommandHistory.h +++ b/kdejava/koala/kdejava/KCommandHistory.h @@ -13,8 +13,8 @@ extern "C" extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCommandHistory_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCommandHistory_className (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_KActionCollection_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_clear (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2Z (JNIEnv *env, jobject, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2 (JNIEnv *env, jobject, jobject); diff --git a/kdejava/koala/kdejava/KCompletionBase.cpp b/kdejava/koala/kdejava/KCompletionBase.cpp index f82dd57e..25dcf447 100644 --- a/kdejava/koala/kdejava/KCompletionBase.cpp +++ b/kdejava/koala/kdejava/KCompletionBase.cpp @@ -47,7 +47,7 @@ Java_org_kde_koala_KCompletionBase_emitSignals(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KCompletionBase_getKeyBinding(JNIEnv* env, jobject obj, jint item) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KCompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.KShortcut"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KCompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); return xret; } @@ -126,7 +126,7 @@ Java_org_kde_koala_KCompletionBase_setHandleSignals(JNIEnv* env, jobject obj, jb JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCompletionBase_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) { - jboolean xret = (jboolean) ((KCompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, key)); + jboolean xret = (jboolean) ((KCompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); return xret; } diff --git a/kdejava/koala/kdejava/KCompletionBox.cpp b/kdejava/koala/kdejava/KCompletionBox.cpp index 796673d0..656f0a38 100644 --- a/kdejava/koala/kdejava/KCompletionBox.cpp +++ b/kdejava/koala/kdejava/KCompletionBox.cpp @@ -127,7 +127,7 @@ public: } void focusOutEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListBox::focusOutEvent(arg1); + TDEListBox::focusOutEvent(arg1); } return; } @@ -253,7 +253,7 @@ public: } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListBox::keyPressEvent(arg1); + TDEListBox::keyPressEvent(arg1); } return; } @@ -376,7 +376,7 @@ public: } void leaveEvent(TQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListBox::leaveEvent(arg1); + TDEListBox::leaveEvent(arg1); } return; } @@ -388,7 +388,7 @@ public: } void contentsMousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMousePressEvent(arg1); + TDEListBox::contentsMousePressEvent(arg1); } return; } @@ -514,7 +514,7 @@ public: } void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMouseDoubleClickEvent(arg1); + TDEListBox::contentsMouseDoubleClickEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.cpp b/kdejava/koala/kdejava/KDCOPActionProxy.cpp index 2ea82b8a..b8e32247 100644 --- a/kdejava/koala/kdejava/KDCOPActionProxy.cpp +++ b/kdejava/koala/kdejava/KDCOPActionProxy.cpp @@ -9,7 +9,7 @@ class KDCOPActionProxyJBridge : public KDCOPActionProxy { public: - KDCOPActionProxyJBridge(KActionCollection* arg1,DCOPObject* arg2) : KDCOPActionProxy(arg1,arg2) {}; + KDCOPActionProxyJBridge(TDEActionCollection* arg1,DCOPObject* arg2) : KDCOPActionProxy(arg1,arg2) {}; KDCOPActionProxyJBridge(DCOPObject* arg1) : KDCOPActionProxy(arg1) {}; ~KDCOPActionProxyJBridge() {QtSupport::qtKeyDeleted(this);} }; @@ -27,7 +27,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPActionProxy_action(JNIEnv* env, jobject obj, jstring name) { static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDCOPActionProxy*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KDCOPActionProxy*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } @@ -65,10 +65,10 @@ Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObje } JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_KActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject actionCollection, jobject parent) +Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject actionCollection, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((KActionCollection*) QtSupport::getQt(env, actionCollection), (DCOPObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (DCOPObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -85,7 +85,7 @@ static TQCString* _qcstring_replyType = 0; _qcstring_replyType = new TQCString(); } static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->processAction((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (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), (KAction*) QtSupport::getQt(env, action)); + jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->processAction((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (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), (TDEAction*) QtSupport::getQt(env, action)); QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); return xret; } diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.h b/kdejava/koala/kdejava/KDCOPActionProxy.h index ea4286a1..2cb5eeec 100644 --- a/kdejava/koala/kdejava/KDCOPActionProxy.h +++ b/kdejava/koala/kdejava/KDCOPActionProxy.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_KActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPActionProxy_action (JNIEnv *env, jobject, jstring); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDCOPActionProxy_actionObjectId (JNIEnv *env, jobject, jstring); diff --git a/kdejava/koala/kdejava/KDEJavaSlot.cpp b/kdejava/koala/kdejava/KDEJavaSlot.cpp index b7646a3b..36e63901 100644 --- a/kdejava/koala/kdejava/KDEJavaSlot.cpp +++ b/kdejava/koala/kdejava/KDEJavaSlot.cpp @@ -34,7 +34,7 @@ static const char * const javaToQtTypeSignatureMap[][2] = { {"(KFileItem,TQPoint)", "(const KFileItem*,const TQPoint&)"}, {"(KFileItemList)", "(const KFileItemList&)"}, {"(KFileItem,TQDropEvent,ArrayList)", "(const KFileItem*,TQDropEvent*,const KURL::List&)"}, - {"(KShortcut)", "(const KShortcut&)"}, + {"(TDEShortcut)", "(const TDEShortcut&)"}, {"(KURL)", "(const KURL&)"}, {"(KURL,KURL)", "(const KURL&,const KURL&)"}, {"(KURL,TQPixmap)", "(const KURL&,const TQPixmap&)"}, @@ -44,8 +44,8 @@ static const char * const javaToQtTypeSignatureMap[][2] = { {"(TQPoint,ArrayList)", "(const TQPoint&,const KFileItemList&)"}, {"(TQPoint,KURL,String)", "(const TQPoint&,const KURL&,const TQString&)"}, {"(TQPoint,KURL,String,int)", "(const TQPoint&,const KURL&,const TQString&,mode_t)"}, - {"(KAction)", "(KAction*)"}, - {"(KAction,boolean)", "(KAction*,bool)"}, + {"(TDEAction)", "(TDEAction*)"}, + {"(TDEAction,boolean)", "(TDEAction*,bool)"}, {"(int)", "(KCompletionBase::KeyBindingType)"}, {"(KDockWidget)", "(KDockWidget*)"}, {"(KDockWidget,KDockWidget)", "(KDockWidget*,KDockWidget*)"}, @@ -72,23 +72,23 @@ static const char * const javaToQtTypeSignatureMap[][2] = { {"(Slave)", "(TDEIO::Slave*)"}, {"(SkipDlg,int)", "(TDEIO::SkipDlg*,int)"}, {"(Slave,int,String)", "(TDEIO::Slave*,int,const TQString&)"}, - {"(KListView,TQDropEvent,TQListViewItem)", "(KListView*,TQDropEvent*,TQListViewItem*)"}, - {"(KListView,TQDropEvent,TQListViewItem,TQListViewItem)", "(KListView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(KListView,TQListViewItem)", "(KListView*,TQListViewItem*)"}, - {"(KListView,TQListViewItem,TQPoint)", "(KListView*,TQListViewItem*,const TQPoint&)"}, + {"(TDEListView,TQDropEvent,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*)"}, + {"(TDEListView,TQDropEvent,TQListViewItem,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, + {"(TDEListView,TQListViewItem)", "(TDEListView*,TQListViewItem*)"}, + {"(TDEListView,TQListViewItem,TQPoint)", "(TDEListView*,TQListViewItem*,const TQPoint&)"}, {"(KMdiChildFrm)", "(KMdiChildFrm*)"}, {"(KMdiChildFrm,KMdiChildFrm)", "(KMdiChildFrm*,KMdiChildFrm*)"}, {"(KMdiChildView)", "(KMdiChildView*)"}, {"(KMdiChildView,boolean)", "(KMdiChildView*,bool)"}, {"(int)", "(KMdi::MdiMode)"}, {"(Part)", "(KParts::Part*)"}, - {"(KPopupMenu,Calendar)", "(KPopupMenu*,const TQDate&)"}, - {"(KPopupMenu,int,TQPopupMenu)", "(KPopupMenu*,int,TQPopupMenu*)"}, + {"(TDEPopupMenu,Calendar)", "(TDEPopupMenu*,const TQDate&)"}, + {"(TDEPopupMenu,int,TQPopupMenu)", "(TDEPopupMenu*,int,TQPopupMenu*)"}, {"(TDEProcess)", "(TDEProcess*)"}, {"(TDEProcess,String,int)", "(TDEProcess*,char*,int)"}, {"(KProcIO)", "(KProcIO*)"}, {"(KSpell)", "(KSpell*)"}, - {"(int)", "(KToolBar::BarPosition)"}, + {"(int)", "(TDEToolBar::BarPosition)"}, {"(ArrayList,KURL)", "(KURL::List&,KURL&)"}, {"(KURLRequester)", "(KURLRequester*)"}, {"(KXMLGUIClient)", "(KXMLGUIClient*)"}, @@ -356,7 +356,7 @@ KDEJavaSlot::invoke(const KFileItemList& arg1) } void -KDEJavaSlot::invoke(const KShortcut& arg1) +KDEJavaSlot::invoke(const TDEShortcut& arg1) { JNIEnv * env; jclass cls; @@ -373,7 +373,7 @@ KDEJavaSlot::invoke(const KShortcut& arg1) } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KShortcut") ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.TDEShortcut") ); env->PopLocalFrame(0); } @@ -584,7 +584,7 @@ KDEJavaSlot::invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mo } void -KDEJavaSlot::invoke(KAction* arg1) +KDEJavaSlot::invoke(TDEAction* arg1) { JNIEnv * env; jclass cls; @@ -599,12 +599,12 @@ KDEJavaSlot::invoke(KAction* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KAction")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction")); env->PopLocalFrame(0); } void -KDEJavaSlot::invoke(KAction* arg1,bool arg2) +KDEJavaSlot::invoke(TDEAction* arg1,bool arg2) { JNIEnv * env; jclass cls; @@ -619,7 +619,7 @@ KDEJavaSlot::invoke(KAction* arg1,bool arg2) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KAction"), (jboolean) arg2); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction"), (jboolean) arg2); env->PopLocalFrame(0); } @@ -1222,7 +1222,7 @@ KDEJavaSlot::invoke(TDEIO::Slave* arg1,int arg2,const TQString& arg3) } void -KDEJavaSlot::invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3) +KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3) { JNIEnv * env; jclass cls; @@ -1238,14 +1238,14 @@ KDEJavaSlot::invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KListView"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); env->PopLocalFrame(0); } void -KDEJavaSlot::invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4) +KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4) { JNIEnv * env; jclass cls; @@ -1261,7 +1261,7 @@ KDEJavaSlot::invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListVi return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KListView"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem"), QtSupport::objectForQtKey(env, (void *) arg4, "org.kde.qt.TQListViewItem") ); @@ -1269,7 +1269,7 @@ KDEJavaSlot::invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListVi } void -KDEJavaSlot::invoke(KListView*arg1,TQListViewItem*arg2) +KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2) { JNIEnv * env; jclass cls; @@ -1285,13 +1285,13 @@ KDEJavaSlot::invoke(KListView*arg1,TQListViewItem*arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KListView"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem") ); env->PopLocalFrame(0); } void -KDEJavaSlot::invoke(KListView*arg1,TQListViewItem*arg2,const TQPoint&arg3) +KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3) { JNIEnv * env; jclass cls; @@ -1307,7 +1307,7 @@ KDEJavaSlot::invoke(KListView*arg1,TQListViewItem*arg2,const TQPoint&arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KListView"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem"), QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); env->PopLocalFrame(0); @@ -1438,7 +1438,7 @@ KDEJavaSlot::invoke(KParts::Part* arg1) } void -KDEJavaSlot::invoke(KPopupMenu* arg1,const TQDate& arg2) +KDEJavaSlot::invoke(TDEPopupMenu* arg1,const TQDate& arg2) { JNIEnv * env; jclass cls; @@ -1454,13 +1454,13 @@ KDEJavaSlot::invoke(KPopupMenu* arg1,const TQDate& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KPopupMenu"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), QtSupport::fromTQDate(env, (TQDate*) &arg2) ); env->PopLocalFrame(0); } void -KDEJavaSlot::invoke(KPopupMenu* arg1,int arg2,TQPopupMenu* arg3) +KDEJavaSlot::invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3) { JNIEnv * env; jclass cls; @@ -1476,7 +1476,7 @@ KDEJavaSlot::invoke(KPopupMenu* arg1,int arg2,TQPopupMenu* arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KPopupMenu"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), (jint) arg2, QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.koala.TQPopupMenu") ); env->PopLocalFrame(0); @@ -1573,7 +1573,7 @@ KDEJavaSlot::invoke(KSpell* arg1) } void -KDEJavaSlot::invoke(KToolBar::BarPosition arg1) +KDEJavaSlot::invoke(TDEToolBar::BarPosition arg1) { JNIEnv * env; jclass cls; diff --git a/kdejava/koala/kdejava/KDEJavaSlot.h b/kdejava/koala/kdejava/KDEJavaSlot.h index 56903ba6..d73dc370 100644 --- a/kdejava/koala/kdejava/KDEJavaSlot.h +++ b/kdejava/koala/kdejava/KDEJavaSlot.h @@ -70,7 +70,7 @@ public slots: void invoke(const KFileItem* arg1,const TQPoint&); void invoke(const KFileItemList& arg1); void invoke(const KFileItem* arg1,TQDropEvent* arg2,const KURL::List& arg3); - void invoke(const KShortcut& arg1); + void invoke(const TDEShortcut& arg1); void invoke(const KURL& arg1); void invoke(const KURL& arg1,const KURL& arg2); void invoke(const KURL& arg1,const TQPixmap& arg2); @@ -80,8 +80,8 @@ public slots: void invoke(const TQPoint& arg1,const KFileItemList& arg2); void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3); void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mode_t arg4); - void invoke(KAction* arg1); - void invoke(KAction* arg1,bool arg2); + void invoke(TDEAction* arg1); + void invoke(TDEAction* arg1,bool arg2); void invoke(KCompletionBase::KeyBindingType arg1); void invoke(KDockWidget* arg1); void invoke(KDockWidget*arg1,KDockWidget*arg2); @@ -108,23 +108,23 @@ public slots: void invoke(TDEIO::Slave* arg1); void invoke(TDEIO::SkipDlg* arg1,int arg2); void invoke(TDEIO::Slave*,int arg2,const TQString& arg3); - void invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3); - void invoke(KListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4); - void invoke(KListView*arg1,TQListViewItem*arg2); - void invoke(KListView*arg1,TQListViewItem*arg2,const TQPoint&arg3); + void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3); + void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4); + void invoke(TDEListView*arg1,TQListViewItem*arg2); + void invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3); void invoke(KMdiChildFrm* arg1); void invoke(KMdiChildFrm* arg1,KMdiChildFrm* arg2); void invoke(KMdiChildView* arg1); void invoke(KMdiChildView* arg1,bool arg2); void invoke(KMdi::MdiMode arg1); void invoke(KParts::Part* arg1); - void invoke(KPopupMenu* arg1,const TQDate& arg2); - void invoke(KPopupMenu* arg1,int arg2,TQPopupMenu* arg3); + void invoke(TDEPopupMenu* arg1,const TQDate& arg2); + void invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3); void invoke(TDEProcess* arg1); void invoke(TDEProcess* arg1,char* arg2, int arg3); void invoke(KProcIO* arg1); void invoke(KSpell* arg1); - void invoke(KToolBar::BarPosition arg1); + void invoke(TDEToolBar::BarPosition arg1); void invoke(KURL::List& arg1,KURL& arg2); void invoke(KURLRequester* arg1); void invoke(KXMLGUIClient* arg1); diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp index 35766f8b..9c3059d1 100644 --- a/kdejava/koala/kdejava/KDESupport.cpp +++ b/kdejava/koala/kdejava/KDESupport.cpp @@ -281,7 +281,7 @@ KDESupport::arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList) } jobject -KDESupport::arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* memberList) +KDESupport::arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList<TDEMainWindow>* memberList) { jobject objectArray; jclass cls; @@ -304,11 +304,11 @@ KDESupport::arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* membe } for (unsigned int index = 0; index < memberList->count(); index++) { - KMainWindow * currentWindow = (KMainWindow *) (memberList->at(index)); + TDEMainWindow * currentWindow = (TDEMainWindow *) (memberList->at(index)); if (! env->CallBooleanMethod( objectArray, addMid, - QtSupport::objectForQtKey(env, currentWindow, "org.kde.koala.KMainWindow") ) ) + QtSupport::objectForQtKey(env, currentWindow, "org.kde.koala.TDEMainWindow") ) ) { return NULL; } diff --git a/kdejava/koala/kdejava/KDESupport.h b/kdejava/koala/kdejava/KDESupport.h index 028dacb0..5a899dd8 100644 --- a/kdejava/koala/kdejava/KDESupport.h +++ b/kdejava/koala/kdejava/KDESupport.h @@ -59,7 +59,7 @@ public: /** Returns a Java ArrayList for the various types of KDE List */ static jobject arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList); static jobject arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList); - static jobject arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* memberList); + static jobject arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList<TDEMainWindow>* memberList); static jobject arrayWithKFileItemList(JNIEnv * env, KFileItemList * itemList); static jobject arrayWithKURLList(JNIEnv * env, KURL::List * kurlList); static jobject arrayWithNodeList(JNIEnv * env, DOM::NodeList * nodeList); diff --git a/kdejava/koala/kdejava/KDataToolAction.cpp b/kdejava/koala/kdejava/KDataToolAction.cpp index 18a0c604..8128b5bd 100644 --- a/kdejava/koala/kdejava/KDataToolAction.cpp +++ b/kdejava/koala/kdejava/KDataToolAction.cpp @@ -19,13 +19,13 @@ public: ~KDataToolActionJBridge() {QtSupport::qtKeyDeleted(this);} void activate() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","activate")) { - KAction::activate(); + TDEAction::activate(); } return; } void unplug(TQWidget* arg1) { if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); + TDEAction::unplug(arg1); } return; } @@ -34,7 +34,7 @@ public: } void slotKeycodeChanged() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); + TDEAction::slotKeycodeChanged(); } return; } @@ -46,7 +46,7 @@ public: } void setIconSet(const TQIconSet& arg1) { if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); + TDEAction::setIconSet(arg1); } return; } @@ -55,7 +55,7 @@ public: } void slotDestroyed() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotDestroyed")) { - KAction::slotDestroyed(); + TDEAction::slotDestroyed(); } return; } diff --git a/kdejava/koala/kdejava/KDirOperator.cpp b/kdejava/koala/kdejava/KDirOperator.cpp index 73c616fc..4309e6ac 100644 --- a/kdejava/koala/kdejava/KDirOperator.cpp +++ b/kdejava/koala/kdejava/KDirOperator.cpp @@ -467,7 +467,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -1130,7 +1130,7 @@ Java_org_kde_koala_KDirOperator_toggleIgnoreCase(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_trashSelected(JNIEnv* env, jobject obj, jint arg1, jint arg2) { - ((KDirOperator*) QtSupport::getQt(env, obj))->trashSelected((KAction::ActivationReason) arg1, (TQt::ButtonState) arg2); + ((KDirOperator*) QtSupport::getQt(env, obj))->trashSelected((TDEAction::ActivationReason) arg1, (TQt::ButtonState) arg2); return; } diff --git a/kdejava/koala/kdejava/KDockMainWindow.cpp b/kdejava/koala/kdejava/KDockMainWindow.cpp index 9975034f..bd7f3160 100644 --- a/kdejava/koala/kdejava/KDockMainWindow.cpp +++ b/kdejava/koala/kdejava/KDockMainWindow.cpp @@ -35,7 +35,7 @@ public: } void resizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMainWindow::resizeEvent(arg1); + TDEMainWindow::resizeEvent(arg1); } return; } @@ -74,7 +74,7 @@ public: } void show() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","show")) { - KMainWindow::show(); + TDEMainWindow::show(); } return; } @@ -98,7 +98,7 @@ public: } void hide() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","hide")) { - KMainWindow::hide(); + TDEMainWindow::hide(); } return; } @@ -122,7 +122,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KMainWindow::paintEvent(arg1); + TDEMainWindow::paintEvent(arg1); } return; } @@ -146,13 +146,13 @@ public: } void showAboutApplication() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","showAboutApplication")) { - KMainWindow::showAboutApplication(); + TDEMainWindow::showAboutApplication(); } return; } void readGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readGlobalProperties(arg1); + TDEMainWindow::readGlobalProperties(arg1); } return; } @@ -173,7 +173,7 @@ public: } void saveProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveProperties(arg1); + TDEMainWindow::saveProperties(arg1); } return; } @@ -230,13 +230,13 @@ public: } void closeEvent(TQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMainWindow::closeEvent(arg1); + TDEMainWindow::closeEvent(arg1); } return; } void readProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readProperties(arg1); + TDEMainWindow::readProperties(arg1); } return; } @@ -278,7 +278,7 @@ public: } void childEvent(TQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KMainWindow::childEvent(arg1); + TDEMainWindow::childEvent(arg1); } return; } @@ -296,7 +296,7 @@ public: } void setIcon(const TQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMainWindow::setIcon(arg1); + TDEMainWindow::setIcon(arg1); } return; } @@ -395,7 +395,7 @@ public: } void saveGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveGlobalProperties(arg1); + TDEMainWindow::saveGlobalProperties(arg1); } return; } diff --git a/kdejava/koala/kdejava/KEditToolbar.cpp b/kdejava/koala/kdejava/KEditToolbar.cpp index d20cbb64..746ab734 100644 --- a/kdejava/koala/kdejava/KEditToolbar.cpp +++ b/kdejava/koala/kdejava/KEditToolbar.cpp @@ -9,16 +9,16 @@ class KEditToolbarJBridge : public KEditToolbar { public: - KEditToolbarJBridge(KActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4,const char* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(KActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(KActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(KActionCollection* arg1,const TQString& arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(KActionCollection* arg1) : KEditToolbar(arg1) {}; - KEditToolbarJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5,const char* arg6) : KEditToolbar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KEditToolbarJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(const TQString& arg1,KActionCollection* arg2) : KEditToolbar(arg1,arg2) {}; + KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4,const char* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; + KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; + KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbar(arg1,arg2,arg3) {}; + KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbar(arg1,arg2) {}; + KEditToolbarJBridge(TDEActionCollection* arg1) : KEditToolbar(arg1) {}; + KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5,const char* arg6) : KEditToolbar(arg1,arg2,arg3,arg4,arg5,arg6) {}; + KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; + KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; + KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbar(arg1,arg2,arg3) {}; + KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbar(arg1,arg2) {}; KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2,const char* arg3) : KEditToolbar(arg1,arg2,arg3) {}; KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbar(arg1,arg2) {}; KEditToolbarJBridge(KXMLGUIFactory* arg1) : KEditToolbar(arg1) {}; @@ -495,60 +495,60 @@ Java_org_kde_koala_KEditToolbar_metaObject(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) { static TQString* _qstring_defaultToolbar = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_xmlfile = 0; static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -589,55 +589,55 @@ static TQCString* _qstring_name = 0; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject collection) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KActionCollection*) QtSupport::getQt(env, collection))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) +Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) { static TQString* _qstring_xmlfile = 0; static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/kdejava/koala/kdejava/KEditToolbar.h b/kdejava/koala/kdejava/KEditToolbar.h index 9c4a56c7..5abf85be 100644 --- a/kdejava/koala/kdejava/KEditToolbar.h +++ b/kdejava/koala/kdejava/KEditToolbar.h @@ -12,16 +12,16 @@ extern "C" extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbar_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.cpp b/kdejava/koala/kdejava/KEditToolbarWidget.cpp index 90ccbda4..bd5dbe62 100644 --- a/kdejava/koala/kdejava/KEditToolbarWidget.cpp +++ b/kdejava/koala/kdejava/KEditToolbarWidget.cpp @@ -12,14 +12,14 @@ class KEditToolbarWidgetJBridge : public KEditToolbarWidget { public: - KEditToolbarWidgetJBridge(KActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(KActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(KActionCollection* arg1,const TQString& arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(KActionCollection* arg1) : KEditToolbarWidget(arg1) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbarWidget(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KActionCollection* arg2,const TQString& arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KActionCollection* arg2) : KEditToolbarWidget(arg1,arg2) {}; + KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; + KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; + KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbarWidget(arg1,arg2) {}; + KEditToolbarWidgetJBridge(TDEActionCollection* arg1) : KEditToolbarWidget(arg1) {}; + KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbarWidget(arg1,arg2,arg3,arg4,arg5) {}; + KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; + KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; + KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbarWidget(arg1,arg2) {}; KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbarWidget(arg1,arg2) {}; KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1) : KEditToolbarWidget(arg1) {}; KEditToolbarWidgetJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; @@ -28,7 +28,7 @@ public: KEditToolbarWidget::setupLayout(); return; } - void protected_initNonKPart(KActionCollection* arg1,const TQString& arg2,bool arg3) { + void protected_initNonKPart(TDEActionCollection* arg1,const TQString& arg2,bool arg3) { KEditToolbarWidget::initNonKPart(arg1,arg2,arg3); return; } @@ -64,7 +64,7 @@ public: KEditToolbarWidget::slotActiveSelected(arg1); return; } - void protected_slotDropped(KListView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) { + void protected_slotDropped(TDEListView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) { KEditToolbarWidget::slotDropped(arg1,arg2,arg3); return; } @@ -500,7 +500,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -508,14 +508,14 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); return xret; } @@ -627,7 +627,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_initNonKPart(JNIEnv* env, jobject obj, jobject collection, jstring file, jboolean global) { static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initNonKPart((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global); + ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initNonKPart((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global); return; } @@ -689,47 +689,47 @@ Java_org_kde_koala_KEditToolbarWidget_metaObject(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) { static TQString* _qstring_defaultToolbar = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_file = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_file = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global)); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global, jobject parent) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global, jobject parent) { static TQString* _qstring_defaultToolbar = 0; static TQString* _qstring_file = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -758,43 +758,43 @@ static TQString* _qstring_defaultToolbar = 0; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject collection) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KActionCollection*) QtSupport::getQt(env, collection))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) +Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) { static TQString* _qstring_xmlfile = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -983,7 +983,7 @@ Java_org_kde_koala_KEditToolbarWidget_slotDownButton(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotDropped(JNIEnv* env, jobject obj, jobject list, jobject e, jobject after) { - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((KListView*) QtSupport::getQt(env, list), (TQDropEvent*) QtSupport::getQt(env, e), (TQListViewItem*) QtSupport::getQt(env, after)); + ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((TDEListView*) QtSupport::getQt(env, list), (TQDropEvent*) QtSupport::getQt(env, e), (TQListViewItem*) QtSupport::getQt(env, after)); return; } diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.h b/kdejava/koala/kdejava/KEditToolbarWidget.h index af9c95a0..1ca3daf0 100644 --- a/kdejava/koala/kdejava/KEditToolbarWidget.h +++ b/kdejava/koala/kdejava/KEditToolbarWidget.h @@ -12,14 +12,14 @@ extern "C" extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); diff --git a/kdejava/koala/kdejava/KFileDetailView.cpp b/kdejava/koala/kdejava/KFileDetailView.cpp index f7e0f52d..26d8bab6 100644 --- a/kdejava/koala/kdejava/KFileDetailView.cpp +++ b/kdejava/koala/kdejava/KFileDetailView.cpp @@ -129,7 +129,7 @@ public: } void contentsMouseReleaseEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseReleaseEvent(arg1); + TDEListView::contentsMouseReleaseEvent(arg1); } return; } @@ -147,7 +147,7 @@ public: } void viewportPaintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KListView::viewportPaintEvent(arg1); + TDEListView::viewportPaintEvent(arg1); } return; } @@ -183,7 +183,7 @@ public: } void focusOutEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusOutEvent(arg1); + TDEListView::focusOutEvent(arg1); } return; } @@ -219,7 +219,7 @@ public: } void viewportResizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KListView::viewportResizeEvent(arg1); + TDEListView::viewportResizeEvent(arg1); } return; } @@ -327,7 +327,7 @@ public: } void takeItem(TQListViewItem* arg1) { if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - KListView::takeItem(arg1); + TDEListView::takeItem(arg1); } return; } @@ -390,7 +390,7 @@ public: } void startDrag() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","startDrag")) { - KListView::startDrag(); + TDEListView::startDrag(); } return; } @@ -408,7 +408,7 @@ public: } void fileManagerKeyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListView::fileManagerKeyPressEvent(arg1); + TDEListView::fileManagerKeyPressEvent(arg1); } return; } @@ -432,7 +432,7 @@ public: } void contentsMouseMoveEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseMoveEvent(arg1); + TDEListView::contentsMouseMoveEvent(arg1); } return; } @@ -468,7 +468,7 @@ public: } void leaveEvent(TQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListView::leaveEvent(arg1); + TDEListView::leaveEvent(arg1); } return; } @@ -480,7 +480,7 @@ public: } void contentsMousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMousePressEvent(arg1); + TDEListView::contentsMousePressEvent(arg1); } return; } @@ -582,7 +582,7 @@ public: } void focusInEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusInEvent(arg1); + TDEListView::focusInEvent(arg1); } return; } @@ -600,7 +600,7 @@ public: } void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseDoubleClickEvent(arg1); + TDEListView::contentsMouseDoubleClickEvent(arg1); } return; } @@ -652,7 +652,7 @@ Java_org_kde_koala_KFileDetailView_acceptDrag(JNIEnv* env, jobject obj, jobject JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } diff --git a/kdejava/koala/kdejava/KFileDialog.cpp b/kdejava/koala/kdejava/KFileDialog.cpp index 85605210..48ee5465 100644 --- a/kdejava/koala/kdejava/KFileDialog.cpp +++ b/kdejava/koala/kdejava/KFileDialog.cpp @@ -595,7 +595,7 @@ Java_org_kde_koala_KFileDialog_accept(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -1536,7 +1536,7 @@ static TQString* _qstring_line = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_toolBar(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.KToolBar"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); return xret; } diff --git a/kdejava/koala/kdejava/KFileIconView.cpp b/kdejava/koala/kdejava/KFileIconView.cpp index 09158b5a..466a42c6 100644 --- a/kdejava/koala/kdejava/KFileIconView.cpp +++ b/kdejava/koala/kdejava/KFileIconView.cpp @@ -706,7 +706,7 @@ Java_org_kde_koala_KFileIconView_acceptDrag(JNIEnv* env, jobject obj, jobject e) JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } diff --git a/kdejava/koala/kdejava/KFilePreview.cpp b/kdejava/koala/kdejava/KFilePreview.cpp index 8b20aaa0..93b1bb45 100644 --- a/kdejava/koala/kdejava/KFilePreview.cpp +++ b/kdejava/koala/kdejava/KFilePreview.cpp @@ -495,7 +495,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } diff --git a/kdejava/koala/kdejava/KFileTreeView.cpp b/kdejava/koala/kdejava/KFileTreeView.cpp index 6267d007..e03e69fa 100644 --- a/kdejava/koala/kdejava/KFileTreeView.cpp +++ b/kdejava/koala/kdejava/KFileTreeView.cpp @@ -118,13 +118,13 @@ public: } void contentsMouseReleaseEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseReleaseEvent(arg1); + TDEListView::contentsMouseReleaseEvent(arg1); } return; } void viewportPaintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KListView::viewportPaintEvent(arg1); + TDEListView::viewportPaintEvent(arg1); } return; } @@ -160,7 +160,7 @@ public: } void focusOutEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusOutEvent(arg1); + TDEListView::focusOutEvent(arg1); } return; } @@ -202,7 +202,7 @@ public: } void viewportResizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KListView::viewportResizeEvent(arg1); + TDEListView::viewportResizeEvent(arg1); } return; } @@ -304,13 +304,13 @@ public: } void takeItem(TQListViewItem* arg1) { if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - KListView::takeItem(arg1); + TDEListView::takeItem(arg1); } return; } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListView::keyPressEvent(arg1); + TDEListView::keyPressEvent(arg1); } return; } @@ -361,7 +361,7 @@ public: } void startDrag() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","startDrag")) { - KListView::startDrag(); + TDEListView::startDrag(); } return; } @@ -379,7 +379,7 @@ public: } void fileManagerKeyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListView::fileManagerKeyPressEvent(arg1); + TDEListView::fileManagerKeyPressEvent(arg1); } return; } @@ -403,7 +403,7 @@ public: } void contentsMouseMoveEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseMoveEvent(arg1); + TDEListView::contentsMouseMoveEvent(arg1); } return; } @@ -439,7 +439,7 @@ public: } void leaveEvent(TQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListView::leaveEvent(arg1); + TDEListView::leaveEvent(arg1); } return; } @@ -451,7 +451,7 @@ public: } void contentsMousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMousePressEvent(arg1); + TDEListView::contentsMousePressEvent(arg1); } return; } @@ -559,7 +559,7 @@ public: } void focusInEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusInEvent(arg1); + TDEListView::focusInEvent(arg1); } return; } @@ -577,7 +577,7 @@ public: } void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseDoubleClickEvent(arg1); + TDEListView::contentsMouseDoubleClickEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KFileView.cpp b/kdejava/koala/kdejava/KFileView.cpp index b77cd9fe..30a3d02b 100644 --- a/kdejava/koala/kdejava/KFileView.cpp +++ b/kdejava/koala/kdejava/KFileView.cpp @@ -13,7 +13,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } diff --git a/kdejava/koala/kdejava/KFontAction.cpp b/kdejava/koala/kdejava/KFontAction.cpp deleted file mode 100644 index f13db54e..00000000 --- a/kdejava/koala/kdejava/KFontAction.cpp +++ /dev/null @@ -1,539 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFontAction.h> - -class KFontActionJBridge : public KFontAction -{ -public: - KFontActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KFontAction(arg1,arg2,arg3,arg4) {}; - KFontActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KFontAction(arg1,arg2,arg3) {}; - KFontActionJBridge(const TQString& arg1,const KShortcut& arg2) : KFontAction(arg1,arg2) {}; - KFontActionJBridge(const TQString& arg1) : KFontAction(arg1) {}; - KFontActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KFontAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KFontAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KFontAction(arg1,arg2,arg3,arg4) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KFontAction(arg1,arg2,arg3) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KFontAction(arg1,arg2) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KFontAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KFontAction(arg1,arg2,arg3,arg4) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KFontAction(arg1,arg2,arg3) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2) : KFontAction(arg1,arg2) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KFontAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KFontAction(arg1,arg2,arg3,arg4) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const KShortcut& arg3) : KFontAction(arg1,arg2,arg3) {}; - KFontActionJBridge(uint arg1,const TQString& arg2) : KFontAction(arg1,arg2) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const KShortcut& arg4,TQObject* arg5,const char* arg6) : KFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const KShortcut& arg4,TQObject* arg5) : KFontAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const KShortcut& arg4) : KFontAction(arg1,arg2,arg3,arg4) {}; - KFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3) : KFontAction(arg1,arg2,arg3) {}; - KFontActionJBridge(TQObject* arg1,const char* arg2) : KFontAction(arg1,arg2) {}; - KFontActionJBridge(TQObject* arg1) : KFontAction(arg1) {}; - KFontActionJBridge() : KFontAction() {}; - ~KFontActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontAction","clear")) { - KSelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontAction","slotActivated")) { - KSelectAction::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; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - 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.KFontAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFontAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFontAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFontAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFontAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontAction_font(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFontAction*) QtSupport::getQt(env, obj))->font(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, 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 KFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontAction_newKFontAction__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 KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontAction_newKFontAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_newKFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontActionJBridge((TQObject*) 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_KFontAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((KFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontAction_setFont(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - ((KFontAction*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); - return; -} - diff --git a/kdejava/koala/kdejava/KFontAction.h b/kdejava/koala/kdejava/KFontAction.h deleted file mode 100644 index 89e4be64..00000000 --- a/kdejava/koala/kdejava/KFontAction.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontAction__ -#define __org_kde_koala_KFontAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_newKFontAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontAction_font (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontAction__ */ diff --git a/kdejava/koala/kdejava/KFontChooser.h b/kdejava/koala/kdejava/KFontChooser.h deleted file mode 100644 index ad9ba442..00000000 --- a/kdejava/koala/kdejava/KFontChooser.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontChooser__ -#define __org_kde_koala_KFontChooser__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontChooser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontChooser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_newKFontChooser__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_enableColumn (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontChooser_fontDiffFlags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontChooser_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontChooser_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontChooser_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontChooser_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontChooser_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_setSampleBoxVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontChooser_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontChooser_getXLFD (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_getFontList (JNIEnv *env, jclass, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontChooser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontChooser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontChooser__ */ diff --git a/kdejava/koala/kdejava/KFontCombo.h b/kdejava/koala/kdejava/KFontCombo.h deleted file mode 100644 index 6521f487..00000000 --- a/kdejava/koala/kdejava/KFontCombo.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontCombo__ -#define __org_kde_koala_KFontCombo__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_newKFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_newKFontCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_newKFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_newKFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setFonts (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setCurrentFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontCombo_currentFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setBold (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_bold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_italic (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_underline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setStrikeOut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_strikeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontCombo_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_displayFonts (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_updateFonts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_slotModified (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontCombo__ */ diff --git a/kdejava/koala/kdejava/KFontDialog.h b/kdejava/koala/kdejava/KFontDialog.h deleted file mode 100644 index 5c25bfcd..00000000 --- a/kdejava/koala/kdejava/KFontDialog.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontDialog__ -#define __org_kde_koala_KFontDialog__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_newKFontDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontDialog_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ (JNIEnv *env, jclass, jobject, jintArray, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I (JNIEnv *env, jclass, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontDialog__ */ diff --git a/kdejava/koala/kdejava/KFontRequester.h b/kdejava/koala/kdejava/KFontRequester.h deleted file mode 100644 index a46c2c8b..00000000 --- a/kdejava/koala/kdejava/KFontRequester.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontRequester__ -#define __org_kde_koala_KFontRequester__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_newKFontRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontRequester_font (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontRequester_isFixedOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontRequester_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontRequester_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontRequester_label (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontRequester_button (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_displaySampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_setToolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_buttonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontRequester__ */ diff --git a/kdejava/koala/kdejava/KFontSizeAction.cpp b/kdejava/koala/kdejava/KFontSizeAction.cpp deleted file mode 100644 index 18fdde98..00000000 --- a/kdejava/koala/kdejava/KFontSizeAction.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KFontSizeAction.h> - -class KFontSizeActionJBridge : public KFontSizeAction -{ -public: - KFontSizeActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KFontSizeAction(arg1,arg2,arg3,arg4) {}; - KFontSizeActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KFontSizeAction(arg1,arg2,arg3) {}; - KFontSizeActionJBridge(const TQString& arg1,const KShortcut& arg2) : KFontSizeAction(arg1,arg2) {}; - KFontSizeActionJBridge(const TQString& arg1) : KFontSizeAction(arg1) {}; - KFontSizeActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontSizeActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KFontSizeAction(arg1,arg2,arg3,arg4) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KFontSizeAction(arg1,arg2,arg3) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KFontSizeAction(arg1,arg2) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KFontSizeAction(arg1,arg2,arg3,arg4) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KFontSizeAction(arg1,arg2,arg3) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2) : KFontSizeAction(arg1,arg2) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontSizeActionJBridge(TQObject* arg1,const char* arg2) : KFontSizeAction(arg1,arg2) {}; - KFontSizeActionJBridge(TQObject* arg1) : KFontSizeAction(arg1) {}; - KFontSizeActionJBridge() : KFontSizeAction() {}; - void protected_slotActivated(int arg1) { - KFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - KFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - KFontSizeAction::slotActivated(); - return; - } - ~KFontSizeActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontSizeAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontSizeAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontSizeAction","clear")) { - KSelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontSizeAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontSizeAction","slotActivated")) { - KFontSizeAction::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; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - 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.KFontSizeAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontSizeAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFontSizeAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFontSizeAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFontSizeAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFontSizeAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontSizeAction_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFontSizeAction*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontSizeAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontSizeAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontSizeAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__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 KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KFontSizeAction_newKFontSizeAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontSizeActionJBridge((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_kde_koala_KFontSizeAction_setFontSize(JNIEnv* env, jobject obj, jint size) -{ - ((KFontSizeAction*) QtSupport::getQt(env, obj))->setFontSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((KFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((KFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFontSizeAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KFontSizeAction.h b/kdejava/koala/kdejava/KFontSizeAction.h deleted file mode 100644 index 0d8d2460..00000000 --- a/kdejava/koala/kdejava/KFontSizeAction.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFontSizeAction__ -#define __org_kde_koala_KFontSizeAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFontSizeAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFontSizeAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_newKFontSizeAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFontSizeAction_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFontSizeAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFontSizeAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFontSizeAction__ */ diff --git a/kdejava/koala/kdejava/KGradientSelector.cpp b/kdejava/koala/kdejava/KGradientSelector.cpp index 5623794d..23a10692 100644 --- a/kdejava/koala/kdejava/KGradientSelector.cpp +++ b/kdejava/koala/kdejava/KGradientSelector.cpp @@ -106,7 +106,7 @@ public: } void valueChange() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","valueChange")) { - KSelector::valueChange(); + TDESelector::valueChange(); } return; } @@ -142,7 +142,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KSelector::paintEvent(arg1); + TDESelector::paintEvent(arg1); } return; } @@ -295,13 +295,13 @@ public: } void mousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mousePressEvent(arg1); + TDESelector::mousePressEvent(arg1); } return; } void mouseMoveEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mouseMoveEvent(arg1); + TDESelector::mouseMoveEvent(arg1); } return; } @@ -337,7 +337,7 @@ public: } void wheelEvent(TQWheelEvent* arg1) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KSelector::wheelEvent(arg1); + TDESelector::wheelEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KHelpMenu.cpp b/kdejava/koala/kdejava/KHelpMenu.cpp index 9c293883..3d35415e 100644 --- a/kdejava/koala/kdejava/KHelpMenu.cpp +++ b/kdejava/koala/kdejava/KHelpMenu.cpp @@ -13,7 +13,7 @@ public: KHelpMenuJBridge(TQWidget* arg1,const TQString& arg2) : KHelpMenu(arg1,arg2) {}; KHelpMenuJBridge(TQWidget* arg1) : KHelpMenu(arg1) {}; KHelpMenuJBridge() : KHelpMenu() {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3,KActionCollection* arg4) : KHelpMenu(arg1,arg2,arg3,arg4) {}; + KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3,TDEActionCollection* arg4) : KHelpMenu(arg1,arg2,arg3,arg4) {}; KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3) : KHelpMenu(arg1,arg2,arg3) {}; KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2) : KHelpMenu(arg1,arg2) {}; ~KHelpMenuJBridge() {QtSupport::qtKeyDeleted(this);} @@ -118,7 +118,7 @@ Java_org_kde_koala_KHelpMenu_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_menu(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->menu(), "org.kde.koala.KPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->menu(), "org.kde.koala.TDEPopupMenu"); return xret; } @@ -192,10 +192,10 @@ Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_T } JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis, jobject actions) +Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis, jobject actions) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis, (KActionCollection*) QtSupport::getQt(env, actions))); + QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis, (TDEActionCollection*) QtSupport::getQt(env, actions))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/kdejava/koala/kdejava/KHelpMenu.h b/kdejava/koala/kdejava/KHelpMenu.h index fd2a03d6..26ffa31e 100644 --- a/kdejava/koala/kdejava/KHelpMenu.h +++ b/kdejava/koala/kdejava/KHelpMenu.h @@ -16,7 +16,7 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kd extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_menu (JNIEnv *env, jobject); diff --git a/kdejava/koala/kdejava/KKeyButton.cpp b/kdejava/koala/kdejava/KKeyButton.cpp index 82e53c61..d8723983 100644 --- a/kdejava/koala/kdejava/KKeyButton.cpp +++ b/kdejava/koala/kdejava/KKeyButton.cpp @@ -452,7 +452,7 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_setShortcut(JNIEnv* env, jobject obj, jobject cut, jboolean bQtShortcut) { - ((KKeyButton*) QtSupport::getQt(env, obj))->setShortcut((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (bool) bQtShortcut); + ((KKeyButton*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) bQtShortcut); return; } @@ -467,7 +467,7 @@ static TQString* _qstring_text = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyButton_shortcut(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KKeyButton*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.KShortcut"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KKeyButton*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); return xret; } diff --git a/kdejava/koala/kdejava/KKeyChooser.cpp b/kdejava/koala/kdejava/KKeyChooser.cpp index 698c2923..1e8ae34b 100644 --- a/kdejava/koala/kdejava/KKeyChooser.cpp +++ b/kdejava/koala/kdejava/KKeyChooser.cpp @@ -13,19 +13,19 @@ class KKeyChooserJBridge : public KKeyChooser { public: KKeyChooserJBridge(TQWidget* arg1) : KKeyChooser(arg1) {}; - KKeyChooserJBridge(KActionCollection* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(KActionCollection* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(KAccel* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(KAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; + KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; + KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; + KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; + KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; KKeyChooserJBridge(TDEGlobalAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(KShortcutList* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - bool protected_insert(KAccel* arg1) { + KKeyChooserJBridge(TDEShortcutList* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; + bool protected_insert(TDEAccel* arg1) { return (bool) KKeyChooser::insert(arg1); } bool protected_insert(TDEGlobalAccel* arg1) { return (bool) KKeyChooser::insert(arg1); } - bool protected_insert(KShortcutList* arg1) { + bool protected_insert(TDEShortcutList* arg1) { return (bool) KKeyChooser::insert(arg1); } void protected_buildListView(uint arg1,const TQString& arg2) { @@ -48,14 +48,14 @@ public: KKeyChooser::fontChange(arg1); return; } - void protected_setShortcut(const KShortcut& arg1) { + void protected_setShortcut(const TDEShortcut& arg1) { KKeyChooser::setShortcut(arg1); return; } - bool protected_isKeyPresent(const KShortcut& arg1,bool arg2) { + bool protected_isKeyPresent(const TDEShortcut& arg1,bool arg2) { return (bool) KKeyChooser::isKeyPresent(arg1,arg2); } - bool protected_isKeyPresent(const KShortcut& arg1) { + bool protected_isKeyPresent(const TDEShortcut& arg1) { return (bool) KKeyChooser::isKeyPresent(arg1); } void protected__warning(const KKeySequence& arg1,TQString arg2,TQString arg3) { @@ -78,7 +78,7 @@ public: KKeyChooser::slotListItemSelected(arg1); return; } - void protected_capturedShortcut(const KShortcut& arg1) { + void protected_capturedShortcut(const TDEShortcut& arg1) { KKeyChooser::capturedShortcut(arg1); return; } @@ -467,7 +467,7 @@ static TQString* _qstring_title = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_capturedShortcut(JNIEnv* env, jobject obj, jobject cut) { - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_capturedShortcut((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); + ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_capturedShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); return; } @@ -475,7 +475,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) { (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkGlobalShortcutsConflict((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); + jboolean xret = (jboolean) KKeyChooserJBridge::checkGlobalShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); return xret; } @@ -483,7 +483,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) { (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkStandardShortcutsConflict((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); + jboolean xret = (jboolean) KKeyChooserJBridge::checkStandardShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); return xret; } @@ -527,24 +527,24 @@ Java_org_kde_koala_KKeyChooser_fontChange(JNIEnv* env, jobject obj, jobject _fon } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KAccel_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((KAccel*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEAccel*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((KActionCollection*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) +Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) { static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((KActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); + jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); return xret; } @@ -556,9 +556,9 @@ Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* e } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KShortcutList_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((KShortcutList*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEShortcutList*) QtSupport::getQt(env, arg1)); return xret; } @@ -569,16 +569,16 @@ Java_org_kde_koala_KKeyChooser_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jobject cut) +Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) { - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); + jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2Z(JNIEnv* env, jobject obj, jobject cut, jboolean warnuser) +Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z(JNIEnv* env, jobject obj, jobject cut, jboolean warnuser) { - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (bool) warnuser); + jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnuser); return xret; } @@ -597,40 +597,40 @@ Java_org_kde_koala_KKeyChooser_metaObject(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) +Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject actions, jobject parent, jboolean bAllowLetterShortcuts) +Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject actions, jobject parent, jboolean bAllowLetterShortcuts) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); + QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject coll, jobject parent) +Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject coll, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((KActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject coll, jobject parent, jboolean bAllowLetterShortcuts) +Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject coll, jobject parent, jboolean bAllowLetterShortcuts) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((KActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); + QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -647,10 +647,10 @@ Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lo } JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KShortcutList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) +Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((KShortcutList*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEShortcutList*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -690,7 +690,7 @@ Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys(JNIEnv* env, jobject ob JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setShortcut(JNIEnv* env, jobject obj, jobject cut) { - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_setShortcut((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); + ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); return; } diff --git a/kdejava/koala/kdejava/KKeyChooser.h b/kdejava/koala/kdejava/KKeyChooser.h index c614fff6..d02a10eb 100644 --- a/kdejava/koala/kdejava/KKeyChooser.h +++ b/kdejava/koala/kdejava/KKeyChooser.h @@ -13,14 +13,14 @@ extern "C" extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyChooser_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyChooser_className (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KShortcutList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_syncToConfig (JNIEnv *env, jobject, jstring, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_commitChanges (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_save (JNIEnv *env, jobject); @@ -29,17 +29,17 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setPreferFourModifi extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_listSync (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KShortcutList_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__I (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_readGlobalKeys (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_updateButtons (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_fontChange (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser__1warning (JNIEnv *env, jobject, jobject, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotNoKey (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotDefaultKey (JNIEnv *env, jobject); diff --git a/kdejava/koala/kdejava/KKeyDialog.cpp b/kdejava/koala/kdejava/KKeyDialog.cpp index 56acbed3..36e08efc 100644 --- a/kdejava/koala/kdejava/KKeyDialog.cpp +++ b/kdejava/koala/kdejava/KKeyDialog.cpp @@ -450,98 +450,98 @@ Java_org_kde_koala_KKeyDialog_configure__(JNIEnv* env, jobject obj) } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2(JNIEnv* env, jclass cls, jobject keys) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jclass cls, jobject keys) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); + jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject coll) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject coll) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jobject parent) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jobject parent) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jobject parent, jboolean bSaveSettings) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jobject parent, jboolean bSaveSettings) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) +Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) { (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((KActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); + jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); return xret; } @@ -618,17 +618,17 @@ Java_org_kde_koala_KKeyDialog_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((KActionCollection*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) +Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) { static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((KActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); + jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); return xret; } diff --git a/kdejava/koala/kdejava/KKeyDialog.h b/kdejava/koala/kdejava/KKeyDialog.h index 69069178..71b7a2a8 100644 --- a/kdejava/koala/kdejava/KKeyDialog.h +++ b/kdejava/koala/kdejava/KKeyDialog.h @@ -16,26 +16,26 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__Z (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__Z (JNIEnv *env, jobject, jboolean); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_commitChanges (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jclass, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); diff --git a/kdejava/koala/kdejava/KLineEdit.cpp b/kdejava/koala/kdejava/KLineEdit.cpp index 9a0ebd11..1e44f6d0 100644 --- a/kdejava/koala/kdejava/KLineEdit.cpp +++ b/kdejava/koala/kdejava/KLineEdit.cpp @@ -701,7 +701,7 @@ Java_org_kde_koala_KLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1 JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_getKeyBinding(JNIEnv* env, jobject obj, jint item) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KCompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.KShortcut"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KCompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->getKeyBinding((KCompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); return xret; } @@ -963,7 +963,7 @@ Java_org_kde_koala_KLineEdit_setHandleSignals(JNIEnv* env, jobject obj, jboolean JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) { - jboolean xret = (jboolean) ((KCompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, key)); + jboolean xret = (jboolean) ((KCompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((KCompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); return xret; } diff --git a/kdejava/koala/kdejava/KListAction.cpp b/kdejava/koala/kdejava/KListAction.cpp deleted file mode 100644 index d8eb6b9b..00000000 --- a/kdejava/koala/kdejava/KListAction.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KListAction.h> - -class KListActionJBridge : public KListAction -{ -public: - KListActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KListAction(arg1,arg2,arg3,arg4) {}; - KListActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KListAction(arg1,arg2,arg3) {}; - KListActionJBridge(const TQString& arg1,const KShortcut& arg2) : KListAction(arg1,arg2) {}; - KListActionJBridge(const TQString& arg1) : KListAction(arg1) {}; - KListActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KListAction(arg1,arg2,arg3,arg4,arg5) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KListAction(arg1,arg2,arg3,arg4,arg5) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KListAction(arg1,arg2,arg3,arg4) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KListAction(arg1,arg2,arg3) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KListAction(arg1,arg2) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KListAction(arg1,arg2,arg3,arg4,arg5) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KListAction(arg1,arg2,arg3,arg4) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KListAction(arg1,arg2,arg3) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2) : KListAction(arg1,arg2) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListActionJBridge(TQObject* arg1,const char* arg2) : KListAction(arg1,arg2) {}; - KListActionJBridge(TQObject* arg1) : KListAction(arg1) {}; - KListActionJBridge() : KListAction() {}; - ~KListActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListAction","clear")) { - KSelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListAction","slotActivated")) { - KSelectAction::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; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - 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.KListAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KListAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KListAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KListAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KListAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KListAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KListAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KListAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KListAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__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 KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KListAction_newKListAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListAction_newKListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListActionJBridge((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_kde_koala_KListAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((KListAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - diff --git a/kdejava/koala/kdejava/KListAction.h b/kdejava/koala/kdejava/KListAction.h deleted file mode 100644 index 75e348f5..00000000 --- a/kdejava/koala/kdejava/KListAction.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KListAction__ -#define __org_kde_koala_KListAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KListAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_newKListAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KListAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KListAction__ */ diff --git a/kdejava/koala/kdejava/KListBox.h b/kdejava/koala/kdejava/KListBox.h deleted file mode 100644 index c8e6b696..00000000 --- a/kdejava/koala/kdejava/KListBox.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KListBox__ -#define __org_kde_koala_KListBox__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_newKListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_newKListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_newKListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_newKListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KListBox__ */ diff --git a/kdejava/koala/kdejava/KListView.cpp b/kdejava/koala/kdejava/KListView.cpp deleted file mode 100644 index 91c3c56d..00000000 --- a/kdejava/koala/kdejava/KListView.cpp +++ /dev/null @@ -1,1486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrect.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqpoint.h> -#include <klistview.h> -#include <tqcolor.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KListView.h> - -class KListViewJBridge : public KListView -{ -public: - KListViewJBridge(TQWidget* arg1,const char* arg2) : KListView(arg1,arg2) {}; - KListViewJBridge(TQWidget* arg1) : KListView(arg1) {}; - KListViewJBridge() : KListView() {}; - bool protected_below(const TQRect& arg1,const TQPoint& arg2) { - return (bool) KListView::below(arg1,arg2); - } - bool protected_below(TQListViewItem* arg1,const TQPoint& arg2) { - return (bool) KListView::below(arg1,arg2); - } - bool protected_event(TQEvent* arg1) { - return (bool) KListView::event(arg1); - } - void protected_emitExecute(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - KListView::emitExecute(arg1,arg2,arg3); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KListView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KListView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KListView::leaveEvent(arg1); - return; - } - TQString protected_tooltip(TQListViewItem* arg1,int arg2) { - return (TQString) KListView::tooltip(arg1,arg2); - } - bool protected_showTooltip(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - return (bool) KListView::showTooltip(arg1,arg2,arg3); - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KListView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - KListView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - KListView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - KListView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KListView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - KListView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KListView::contentsDropEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KListView::contentsDragEnterEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KListView::dragObject(); - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KListView::acceptDrag(arg1); - } - TQRect protected_drawDropVisualizer(TQPainter* arg1,TQListViewItem* arg2,TQListViewItem* arg3) { - return (TQRect) KListView::drawDropVisualizer(arg1,arg2,arg3); - } - TQRect protected_drawItemHighlighter(TQPainter* arg1,TQListViewItem* arg2) { - return (TQRect) KListView::drawItemHighlighter(arg1,arg2); - } - void protected_startDrag() { - KListView::startDrag(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KListView::keyPressEvent(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - KListView::viewportPaintEvent(arg1); - return; - } - void protected_activateAutomaticSelection() { - KListView::activateAutomaticSelection(); - return; - } - void protected_deactivateAutomaticSelection() { - KListView::deactivateAutomaticSelection(); - return; - } - bool protected_automaticSelection() { - return (bool) KListView::automaticSelection(); - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - KListView::viewportResizeEvent(arg1); - return; - } - void protected_disableAutoSelection() { - KListView::disableAutoSelection(); - return; - } - void protected_resetAutoSelection() { - KListView::resetAutoSelection(); - return; - } - void protected_movableDropEvent(TQListViewItem* arg1,TQListViewItem* arg2) { - KListView::movableDropEvent(arg1,arg2); - return; - } - void protected_findDrop(const TQPoint& arg1,TQListViewItem*& arg2,TQListViewItem*& arg3) { - KListView::findDrop(arg1,arg2,arg3); - return; - } - void protected_fileManagerKeyPressEvent(TQKeyEvent* arg1) { - KListView::fileManagerKeyPressEvent(arg1); - return; - } - int protected_depthToPixels(int arg1) { - return (int) KListView::depthToPixels(arg1); - } - void protected_slotSettingsChanged(int arg1) { - KListView::slotSettingsChanged(arg1); - return; - } - void protected_slotMouseButtonClicked(int arg1,TQListViewItem* arg2,const TQPoint& arg3,int arg4) { - KListView::slotMouseButtonClicked(arg1,arg2,arg3,arg4); - return; - } - void protected_doneEditing(TQListViewItem* arg1,int arg2) { - KListView::doneEditing(arg1,arg2); - return; - } - void protected_cleanDropVisualizer() { - KListView::cleanDropVisualizer(); - return; - } - void protected_cleanItemHighlighter() { - KListView::cleanItemHighlighter(); - return; - } - void protected_emitContextMenu(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - KListView::emitContextMenu(arg1,arg2,arg3); - return; - } - void protected_emitContextMenu(KListView* arg1,TQListViewItem* arg2) { - KListView::emitContextMenu(arg1,arg2); - return; - } - void protected_slotOnItem(TQListViewItem* arg1) { - KListView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - KListView::slotOnViewport(); - return; - } - void protected_slotAutoSelect() { - KListView::slotAutoSelect(); - return; - } - void protected_slotDragExpand() { - KListView::slotDragExpand(); - return; - } - void protected_slotHeaderChanged() { - KListView::slotHeaderChanged(); - return; - } - ~KListViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KListView::viewportPaintEvent(arg1); - } - return; - } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KListView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KListView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - KListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","clearSelection")) { - TQListView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); - } - return; - } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KListView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","startDrag")) { - KListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KListView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","invertSelection")) { - TQListView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); - } - return; - } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); - } - return; - } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListView::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); - } - return; - } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListView::contentsContextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_acceptDrag(JNIEnv* env, jobject obj, jobject event) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_activateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_activateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_alternateBackground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KListView*) QtSupport::getQt(env, obj))->alternateBackground(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_ascendingSort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->ascendingSort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_autoOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->autoOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_automaticSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_automaticSelection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject i, jobject p) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((TQListViewItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject rect, jobject p) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KListView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KListView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_cleanDropVisualizer(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanDropVisualizer(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_cleanItemHighlighter(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanItemHighlighter(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_columnSorted(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->columnSorted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_deactivateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_deactivateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_depthToPixels(JNIEnv* env, jobject obj, jint depth) -{ - jint xret = (jint) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_depthToPixels((int) depth); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_disableAutoSelection(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_disableAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KListView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_doneEditing(JNIEnv* env, jobject obj, jobject item, jint row) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_doneEditing((TQListViewItem*) QtSupport::getQt(env, item), (int) row); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_drawDropVisualizer(JNIEnv* env, jobject obj, jobject p, jobject parent, jobject after) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawDropVisualizer((TQPainter*) QtSupport::getQt(env, p), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_drawItemHighlighter(JNIEnv* env, jobject obj, jobject painter, jobject item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawItemHighlighter((TQPainter*) QtSupport::getQt(env, painter), (TQListViewItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_dropHighlighter(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->dropHighlighter(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_dropVisualizerWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->dropVisualizerWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_dropVisualizer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->dropVisualizer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_emitContextMenu__Lorg_kde_koala_KListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((KListView*) QtSupport::getQt(env, arg1), (TQListViewItem*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TQListViewItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos, jint c) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_fileManagerKeyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_fileManagerKeyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KListView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_findDrop(JNIEnv* env, jobject obj, jobject pos, jobject parent, jobject after) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_findDrop((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_focusInEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_fullWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->fullWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_isExecuteArea__I(JNIEnv* env, jobject obj, jint x) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->isExecuteArea((int) x); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_isExecuteArea__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->isExecuteArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_isRenameable(JNIEnv* env, jobject obj, jint column) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->isRenameable((int) column); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_itemAtIndex(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListView*) QtSupport::getQt(env, obj))->itemAtIndex((int) index), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_itemIndex(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->itemIndex((const TQListViewItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_itemsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->itemsMovable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_itemsRenameable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->itemsRenameable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListView*) QtSupport::getQt(env, obj))->lastChild(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_lastItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_movableDropEvent(JNIEnv* env, jobject obj, jobject parent, jobject afterme) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_movableDropEvent((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, afterme)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_moveItem(JNIEnv* env, jobject obj, jobject item, jobject parent, jobject after) -{ - ((KListView*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, item), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_newKListView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_newKListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_newKListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewJBridge((TQWidget*) 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_KListView_removeColumn(JNIEnv* env, jobject obj, jint index) -{ - ((KListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListView_renameLineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListView*) QtSupport::getQt(env, obj))->renameLineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_rename(JNIEnv* env, jobject obj, jobject item, jint c) -{ - ((KListView*) QtSupport::getQt(env, obj))->rename((TQListViewItem*) QtSupport::getQt(env, item), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_resetAutoSelection(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_resetAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_restoreLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((KListView*) QtSupport::getQt(env, obj))->restoreLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_saveLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((KListView*) QtSupport::getQt(env, obj))->saveLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_selectionModeExt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->selectionModeExt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KListView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setAlternateBackground(JNIEnv* env, jobject obj, jobject c) -{ - ((KListView*) QtSupport::getQt(env, obj))->setAlternateBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setAutoOpen(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setAutoOpen((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setDropHighlighter(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setDropHighlighter((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setDropVisualizerWidth(JNIEnv* env, jobject obj, jint w) -{ - ((KListView*) QtSupport::getQt(env, obj))->setDropVisualizerWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setDropVisualizer(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setDropVisualizer((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setFullWidth(JNIEnv* env, jobject obj, jboolean fullWidth) -{ - ((KListView*) QtSupport::getQt(env, obj))->setFullWidth((bool) fullWidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setItemsRenameable(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setItemsRenameable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setRenameable__I(JNIEnv* env, jobject obj, jint column) -{ - ((KListView*) QtSupport::getQt(env, obj))->setRenameable((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setRenameable__IZ(JNIEnv* env, jobject obj, jint column, jboolean yesno) -{ - ((KListView*) QtSupport::getQt(env, obj))->setRenameable((int) column, (bool) yesno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setSelectionModeExt(JNIEnv* env, jobject obj, jint mode) -{ - ((KListView*) QtSupport::getQt(env, obj))->setSelectionModeExt((KListView::SelectionModeExt) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setShadeSortColumn(JNIEnv* env, jobject obj, jboolean shadeSortColumn) -{ - ((KListView*) QtSupport::getQt(env, obj))->setShadeSortColumn((bool) shadeSortColumn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setSorting__I(JNIEnv* env, jobject obj, jint column) -{ - ((KListView*) QtSupport::getQt(env, obj))->setSorting((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) -{ - ((KListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setTabOrderedRenaming(JNIEnv* env, jobject obj, jboolean b) -{ - ((KListView*) QtSupport::getQt(env, obj))->setTabOrderedRenaming((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_setTooltipColumn(JNIEnv* env, jobject obj, jint column) -{ - ((KListView*) QtSupport::getQt(env, obj))->setTooltipColumn((int) column); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_shadeSortColumn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->shadeSortColumn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_showTooltip(JNIEnv* env, jobject obj, jobject item, jobject pos, jint column) -{ - jboolean xret = (jboolean) ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_showTooltip((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) column); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotDragExpand(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotDragExpand(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotHeaderChanged(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotHeaderChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotMouseButtonClicked(JNIEnv* env, jobject obj, jint btn, jobject item, jobject pos, jint c) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotMouseButtonClicked((int) btn, (TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_startDrag(JNIEnv* env, jobject obj) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListView_tabOrderedRenaming(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListView*) QtSupport::getQt(env, obj))->tabOrderedRenaming(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_takeItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KListView_tooltipColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KListView*) QtSupport::getQt(env, obj))->tooltipColumn(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KListView_tooltip(JNIEnv* env, jobject obj, jobject item, jint column) -{ - TQString _qstring; - _qstring = ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_tooltip((TQListViewItem*) QtSupport::getQt(env, item), (int) column); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KListView.h b/kdejava/koala/kdejava/KListView.h deleted file mode 100644 index 5e632aaf..00000000 --- a/kdejava/koala/kdejava/KListView.h +++ /dev/null @@ -1,123 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KListView__ -#define __org_kde_koala_KListView__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KListView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_newKListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_newKListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_newKListView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_isExecuteArea__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_isExecuteArea__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_moveItem (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_lastItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_renameLineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_itemsMovable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_itemsRenameable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_autoOpen (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_isRenameable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_dropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_tooltipColumn (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_dropHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_dropVisualizerWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_selectionModeExt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_itemIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_itemAtIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setFullWidth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_fullWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setAlternateBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_alternateBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_saveLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_restoreLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setSorting__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_columnSorted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_ascendingSort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setShadeSortColumn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_shadeSortColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_rename (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setRenameable__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setRenameable__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setItemsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setItemsRenameable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setAutoOpen (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setDropVisualizer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setDropVisualizerWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setTooltipColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setDropHighlighter (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setSelectionModeExt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_setTabOrderedRenaming (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_tabOrderedRenaming (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_emitExecute (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KListView_tooltip (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_showTooltip (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_drawDropVisualizer (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListView_drawItemHighlighter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_activateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_deactivateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_automaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_disableAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_resetAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_movableDropEvent (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_findDrop (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_fileManagerKeyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KListView_depthToPixels (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotMouseButtonClicked (JNIEnv *env, jobject, jint, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_doneEditing (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_cleanDropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_cleanItemHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_emitContextMenu__Lorg_kde_koala_KListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotDragExpand (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_slotHeaderChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KListView__ */ diff --git a/kdejava/koala/kdejava/KListViewItem.cpp b/kdejava/koala/kdejava/KListViewItem.cpp deleted file mode 100644 index 7ee9d8bd..00000000 --- a/kdejava/koala/kdejava/KListViewItem.cpp +++ /dev/null @@ -1,614 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <klistview.h> -#include <tqcolor.h> -#include <tqpalette.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KListViewItem.h> - -class KListViewItemJBridge : public KListViewItem -{ -public: - KListViewItemJBridge(TQListView* arg1) : KListViewItem(arg1) {}; - KListViewItemJBridge(TQListViewItem* arg1) : KListViewItem(arg1) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : KListViewItem(arg1,arg2) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : KListViewItem(arg1,arg2) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : KListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : KListViewItem(arg1,arg2,arg3,arg4) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : KListViewItem(arg1,arg2,arg3) {}; - KListViewItemJBridge(TQListView* arg1,TQString arg2) : KListViewItem(arg1,arg2) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : KListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : KListViewItem(arg1,arg2,arg3,arg4) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : KListViewItem(arg1,arg2,arg3) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : KListViewItem(arg1,arg2) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : KListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : KListViewItem(arg1,arg2,arg3,arg4) {}; - KListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : KListViewItem(arg1,arg2,arg3) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : KListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : KListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : KListViewItem(arg1,arg2,arg3,arg4) {}; - KListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : KListViewItem(arg1,arg2,arg3) {}; - ~KListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListViewItem_backgroundColor(JNIEnv* env, jobject obj, jint column) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KListViewItem*) QtSupport::getQt(env, obj))->backgroundColor((int) column)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(KListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(KListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (KListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_insertItem(JNIEnv* env, jobject obj, jobject item) -{ - ((KListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListViewItem_isAlternate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KListViewItem*) QtSupport::getQt(env, obj))->isAlternate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_paintCell(JNIEnv* env, jobject obj, jobject p, jobject cg, jint column, jint width, jint alignment) -{ - ((KListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KListViewItem_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((KListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - diff --git a/kdejava/koala/kdejava/KListViewItem.h b/kdejava/koala/kdejava/KListViewItem.h deleted file mode 100644 index fc9322ad..00000000 --- a/kdejava/koala/kdejava/KListViewItem.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KListViewItem__ -#define __org_kde_koala_KListViewItem__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_newKListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListViewItem_isAlternate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KListViewItem_backgroundColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KListViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KListViewItem__ */ diff --git a/kdejava/koala/kdejava/KMainWindow.cpp b/kdejava/koala/kdejava/KMainWindow.cpp deleted file mode 100644 index 86a3cdbc..00000000 --- a/kdejava/koala/kdejava/KMainWindow.cpp +++ /dev/null @@ -1,1639 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <kmainwindow.h> -#include <kxmlguiclient.h> -#include <tqpixmap.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tqstringlist.h> -#include <kxmlguibuilder.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KMainWindow.h> - -class KMainWindowJBridge : public KMainWindow -{ -public: - KMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KMainWindow(arg1,arg2,arg3) {}; - KMainWindowJBridge(TQWidget* arg1,const char* arg2) : KMainWindow(arg1,arg2) {}; - KMainWindowJBridge(TQWidget* arg1) : KMainWindow(arg1) {}; - KMainWindowJBridge() : KMainWindow() {}; - KMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KMainWindow(arg1,arg2,arg3,arg4) {}; - KMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : KMainWindow(arg1,arg2,arg3) {}; - KMainWindowJBridge(int arg1,TQWidget* arg2) : KMainWindow(arg1,arg2) {}; - KMainWindowJBridge(int arg1) : KMainWindow(arg1) {}; - void public_show() { - KMainWindow::show(); - return; - } - void public_hide() { - KMainWindow::hide(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KMainWindow::paintEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - KMainWindow::childEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMainWindow::resizeEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - KMainWindow::closeEvent(arg1); - return; - } - bool protected_queryExit() { - return (bool) KMainWindow::queryExit(); - } - bool protected_queryClose() { - return (bool) KMainWindow::queryClose(); - } - void protected_saveProperties(TDEConfig* arg1) { - KMainWindow::saveProperties(arg1); - return; - } - void protected_readProperties(TDEConfig* arg1) { - KMainWindow::readProperties(arg1); - return; - } - void protected_saveGlobalProperties(TDEConfig* arg1) { - KMainWindow::saveGlobalProperties(arg1); - return; - } - void protected_readGlobalProperties(TDEConfig* arg1) { - KMainWindow::readGlobalProperties(arg1); - return; - } - void protected_savePropertiesInternal(TDEConfig* arg1,int arg2) { - KMainWindow::savePropertiesInternal(arg1,arg2); - return; - } - bool protected_readPropertiesInternal(TDEConfig* arg1,int arg2) { - return (bool) KMainWindow::readPropertiesInternal(arg1,arg2); - } - bool protected_settingsDirty() { - return (bool) KMainWindow::settingsDirty(); - } - TQString protected_settingsGroup() { - return (TQString) KMainWindow::settingsGroup(); - } - void protected_saveWindowSize(TDEConfig* arg1) { - KMainWindow::saveWindowSize(arg1); - return; - } - void protected_restoreWindowSize(TDEConfig* arg1) { - KMainWindow::restoreWindowSize(arg1); - return; - } - void protected_parseGeometry(bool arg1) { - KMainWindow::parseGeometry(arg1); - return; - } - void protected_saveNewToolbarConfig() { - KMainWindow::saveNewToolbarConfig(); - return; - } - void protected_showAboutApplication() { - KMainWindow::showAboutApplication(); - return; - } - void protected_saveAutoSaveSettings() { - KMainWindow::saveAutoSaveSettings(); - return; - } - ~KMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setInstance(TDEInstance* arg1) { - KXMLGUIClient::setInstance(arg1); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","show")) { - KMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","hide")) { - KMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","showAboutApplication")) { - KMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveProperties(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KMainWindow::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveGlobalProperties(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - KXMLGUIClient::setInstance(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_accel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->accel(), "org.kde.koala.KAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_appHelpActivated(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->appHelpActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean force) -{ -static TQString* _qstring_groupName = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_autoSaveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMainWindow*) QtSupport::getQt(env, obj))->autoSaveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_autoSaveSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->autoSaveSettings(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_builderClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_builderInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_canBeRestored(JNIEnv* env, jclass cls, jint number) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KMainWindowJBridge::canBeRestored((int) number); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_classNameOfToplevel(JNIEnv* env, jclass cls, jint number) -{ - TQString _qstring; - (void) cls; - _qstring = KMainWindowJBridge::classNameOfToplevel((int) number); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMainWindow_configureToolbars(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMainWindow*) QtSupport::getQt(env, obj))->configureToolbars(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_conserveMemory(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_containerTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->containerTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_createContainer(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element, jintArray id) -{ - int* _int_id = QtSupport::toIntPtr(env, id); - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->createContainer((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element), (int&) *_int_id), "org.kde.qt.TQWidget"); - env->SetIntArrayRegion(id, 0, 1, (jint *) _int_id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMainWindow_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) -{ - jint xret = (jint) ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_createGUI__(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->createGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_createGUI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_createGUI__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring xmlfile, jboolean _conserveMemory) -{ -static TQString* _qstring_xmlfile = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) _conserveMemory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_createStandardStatusBarAction(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->createStandardStatusBarAction(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_customHelpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu(), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_customHelpMenu__Z(JNIEnv* env, jobject obj, jboolean showWhatsThis) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu((bool) showWhatsThis), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_customTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->customTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject client) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_finalizeGUI__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = KMainWindowJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_guiFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->guiFactory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_hasMenuBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->hasMenuBar(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_helpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->helpMenu(), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_helpMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring aboutAppText) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText)), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_helpMenu__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring aboutAppText, jboolean showWhatsThis) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_hide(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_ignoreInitialGeometry(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->ignoreInitialGeometry(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_initialGeometrySet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->initialGeometrySet(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_isHelpMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->isHelpMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_isStandardToolBarMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->isStandardToolBarMenuEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_kmenuBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.koala.KMenuBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_kstatusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__I(JNIEnv* env, jobject obj, jint cflags) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((int) cflags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((int) cflags, (TQWidget*) 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_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((TQWidget*) 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_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_parseGeometry(JNIEnv* env, jobject obj, jboolean parsewidth) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_parseGeometry((bool) parsewidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_queryClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_queryExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryExit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_readGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_readPropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jboolean xret = (jboolean) ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readPropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_readProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) -{ - ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->removeContainer((TQWidget*) QtSupport::getQt(env, container), (TQWidget*) QtSupport::getQt(env, parent), (TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, element), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_resetAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->resetAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_restoreWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_restoreWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_restore__I(JNIEnv* env, jobject obj, jint number) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->restore((int) number); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_restore__IZ(JNIEnv* env, jobject obj, jint number, jboolean show) -{ - jboolean xret = (jboolean) ((KMainWindow*) QtSupport::getQt(env, obj))->restore((int) number, (bool) show); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_savePropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_savePropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_saveWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setAutoSaveSettings__(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setAutoSaveSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean saveWindowSize) -{ -static TQString* _qstring_groupName = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) saveWindowSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setBuilderClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jboolean modified) -{ -static TQString* _qstring_caption = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) modified); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setFrameBorderWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setFrameBorderWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setHelpMenuEnabled__(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setHelpMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showHelpMenu) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled((bool) showHelpMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setIcon(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setSettingsDirty(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setSettingsDirty(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setStandardToolBarMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setStandardToolBarMenuEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMainWindow_settingsDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsDirty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__I(JNIEnv* env, jobject obj, jint options) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject defaultSize) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject defaultSize, jint options) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject defaultSize, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_setupToolbarMenuActions(JNIEnv* env, jobject obj) -{ - ((KMainWindow*) QtSupport::getQt(env, obj))->setupToolbarMenuActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_showAboutApplication(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showAboutApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_show(JNIEnv* env, jobject obj) -{ - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_slotStateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_slotStateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint arg2) -{ -static TQString* _qstring_newstate = 0; - ((KMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((KMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_toolBarMenuAction(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->toolBarMenuAction(), "org.kde.koala.KAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_toolBar__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.KToolBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_toolBar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMainWindow*) QtSupport::getQt(env, obj))->toolBar((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KToolBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMainWindow_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(KMainWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMainWindow_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KMainWindow*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMainWindow_memberList(JNIEnv* env, jobject obj) -{ - return (jobject) KDESupport::arrayWithKMainWindowList(env, KMainWindow::memberList); -} - diff --git a/kdejava/koala/kdejava/KMainWindow.h b/kdejava/koala/kdejava/KMainWindow.h deleted file mode 100644 index 7a099d17..00000000 --- a/kdejava/koala/kdejava/KMainWindow.h +++ /dev/null @@ -1,159 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMainWindow__ -#define __org_kde_koala_KMainWindow__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_newKMainWindow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_helpMenu__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_helpMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_helpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_customHelpMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_customHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_hide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_restore__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_restore__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_guiFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_createGUI__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_createGUI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_createGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setHelpMenuEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setHelpMenuEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_isHelpMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_hasMenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_kmenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_kstatusBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_toolBar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_toolBar__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_accel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setFrameBorderWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setAutoSaveSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setAutoSaveSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_resetAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_autoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_autoSaveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setStandardToolBarMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_isStandardToolBarMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_createStandardStatusBarAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupGUI__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_toolBarMenuAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setupToolbarMenuActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_finalizeGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_initialGeometrySet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_ignoreInitialGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMainWindow_configureToolbars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setPlainCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_appHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_slotStateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_slotStateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setSettingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_canBeRestored (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_classNameOfToplevel (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_queryExit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_queryClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_readProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_readGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_savePropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_readPropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_settingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_restoreWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_parseGeometry (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_showAboutApplication (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_saveAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMainWindow_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_builderClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setBuilderClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_builderInstance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setBuilderInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_containerTags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_customTags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMainWindow_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_removeCustomElement (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMainWindow_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMainWindow_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMainWindow_memberList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMainWindow__ */ diff --git a/kdejava/koala/kdejava/KMdiMainFrm.cpp b/kdejava/koala/kdejava/KMdiMainFrm.cpp index 7181f64d..a3c39daf 100644 --- a/kdejava/koala/kdejava/KMdiMainFrm.cpp +++ b/kdejava/koala/kdejava/KMdiMainFrm.cpp @@ -303,7 +303,7 @@ public: } void show() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","show")) { - KMainWindow::show(); + TDEMainWindow::show(); } return; } @@ -339,7 +339,7 @@ public: } void hide() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","hide")) { - KMainWindow::hide(); + TDEMainWindow::hide(); } return; } @@ -375,7 +375,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KMainWindow::paintEvent(arg1); + TDEMainWindow::paintEvent(arg1); } return; } @@ -417,13 +417,13 @@ public: } void showAboutApplication() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showAboutApplication")) { - KMainWindow::showAboutApplication(); + TDEMainWindow::showAboutApplication(); } return; } void readGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readGlobalProperties(arg1); + TDEMainWindow::readGlobalProperties(arg1); } return; } @@ -444,7 +444,7 @@ public: } void saveProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveProperties(arg1); + TDEMainWindow::saveProperties(arg1); } return; } @@ -525,7 +525,7 @@ public: } void closeEvent(TQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMainWindow::closeEvent(arg1); + TDEMainWindow::closeEvent(arg1); } return; } @@ -543,7 +543,7 @@ public: } void readProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readProperties(arg1); + TDEMainWindow::readProperties(arg1); } return; } @@ -591,7 +591,7 @@ public: } void childEvent(TQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KMainWindow::childEvent(arg1); + TDEMainWindow::childEvent(arg1); } return; } @@ -621,7 +621,7 @@ public: } void setIcon(const TQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMainWindow::setIcon(arg1); + TDEMainWindow::setIcon(arg1); } return; } @@ -768,7 +768,7 @@ public: } void saveGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveGlobalProperties(arg1); + TDEMainWindow::saveGlobalProperties(arg1); } return; } diff --git a/kdejava/koala/kdejava/KMdiTaskBar.cpp b/kdejava/koala/kdejava/KMdiTaskBar.cpp index c8ece526..0b7b07ec 100644 --- a/kdejava/koala/kdejava/KMdiTaskBar.cpp +++ b/kdejava/koala/kdejava/KMdiTaskBar.cpp @@ -156,7 +156,7 @@ public: } void showEvent(TQShowEvent* arg1) { if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - KToolBar::showEvent(arg1); + TDEToolBar::showEvent(arg1); } return; } @@ -231,7 +231,7 @@ public: } void childEvent(TQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KToolBar::childEvent(arg1); + TDEToolBar::childEvent(arg1); } return; } @@ -279,7 +279,7 @@ public: } void mousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KToolBar::mousePressEvent(arg1); + TDEToolBar::mousePressEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KPasteTextAction.cpp b/kdejava/koala/kdejava/KPasteTextAction.cpp deleted file mode 100644 index dd8f2356..00000000 --- a/kdejava/koala/kdejava/KPasteTextAction.cpp +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqstring.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KPasteTextAction.h> - -class KPasteTextActionJBridge : public KPasteTextAction -{ -public: - KPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5) : KPasteTextAction(arg1,arg2,arg3,arg4,arg5) {}; - void protected_menuAboutToShow() { - KPasteTextAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - KPasteTextAction::menuItemActivated(arg1); - return; - } - void protected_slotActivated() { - KPasteTextAction::slotActivated(); - return; - } - ~KPasteTextActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasteTextAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasteTextAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasteTextAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasteTextAction","slotActivated")) { - KPasteTextAction::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.KPasteTextAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasteTextAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasteTextAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPasteTextAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPasteTextAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KPasteTextAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasteTextAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((KPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPasteTextAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPasteTextAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, 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 KPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) 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_KPasteTextAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasteTextAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_setMixedMode(JNIEnv* env, jobject obj, jboolean mode) -{ - ((KPasteTextAction*) QtSupport::getQt(env, obj))->setMixedMode((bool) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasteTextAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/KPasteTextAction.h b/kdejava/koala/kdejava/KPasteTextAction.h deleted file mode 100644 index 7429f4ba..00000000 --- a/kdejava/koala/kdejava/KPasteTextAction.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPasteTextAction__ -#define __org_kde_koala_KPasteTextAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPasteTextAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasteTextAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_newKPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_setMixedMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasteTextAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasteTextAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasteTextAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasteTextAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPasteTextAction__ */ diff --git a/kdejava/koala/kdejava/KPopupFrame.h b/kdejava/koala/kdejava/KPopupFrame.h deleted file mode 100644 index 42b9dea6..00000000 --- a/kdejava/koala/kdejava/KPopupFrame.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPopupFrame__ -#define __org_kde_koala_KPopupFrame__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupFrame_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupFrame_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_newKPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_newKPopupFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_newKPopupFrame__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupFrame_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupFrame_exec__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_close (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupFrame_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPopupFrame_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPopupFrame__ */ diff --git a/kdejava/koala/kdejava/KPopupMenu.h b/kdejava/koala/kdejava/KPopupMenu.h deleted file mode 100644 index 1de0d738..00000000 --- a/kdejava/koala/kdejava/KPopupMenu.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPopupMenu__ -#define __org_kde_koala_KPopupMenu__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_newKPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_newKPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_newKPopupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_changeTitle__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupMenu_title__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupMenu_title__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupMenu_titlePixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_setKeyboardShortcutsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_setKeyboardShortcutsExecute (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupMenu_contextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_hideContextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_state (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupMenu_contextMenuFocus (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPopupMenu_contextMenuFocusItem (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupMenu_underlineText (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_resetKeyboardVars__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_resetKeyboardVars__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_itemHighlighted (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_showCtxMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_ctxMenuHiding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_ctxMenuHideShowingMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPopupMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPopupMenu__ */ diff --git a/kdejava/koala/kdejava/KPopupTitle.h b/kdejava/koala/kdejava/KPopupTitle.h deleted file mode 100644 index b0ed41d5..00000000 --- a/kdejava/koala/kdejava/KPopupTitle.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPopupTitle__ -#define __org_kde_koala_KPopupTitle__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupTitle_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupTitle_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_newKPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_newKPopupTitle__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_newKPopupTitle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_setTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPopupTitle_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupTitle_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPopupTitle_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_calcSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPopupTitle_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPopupTitle_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPopupTitle__ */ diff --git a/kdejava/koala/kdejava/KPrintAction.cpp b/kdejava/koala/kdejava/KPrintAction.cpp index cdf5d325..3dd1fd61 100644 --- a/kdejava/koala/kdejava/KPrintAction.cpp +++ b/kdejava/koala/kdejava/KPrintAction.cpp @@ -40,13 +40,13 @@ public: ~KPrintActionJBridge() {QtSupport::qtKeyDeleted(this);} void activate() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","activate")) { - KAction::activate(); + TDEAction::activate(); } return; } void unplug(TQWidget* arg1) { if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); + TDEAction::unplug(arg1); } return; } @@ -55,7 +55,7 @@ public: } void slotKeycodeChanged() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); + TDEAction::slotKeycodeChanged(); } return; } @@ -67,7 +67,7 @@ public: } void setIconSet(const TQIconSet& arg1) { if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); + TDEAction::setIconSet(arg1); } return; } @@ -76,13 +76,13 @@ public: } void slotDestroyed() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotDestroyed")) { - KAction::slotDestroyed(); + TDEAction::slotDestroyed(); } return; } - void remove(KAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.KAction")) { - KActionMenu::remove(arg1); + void remove(TDEAction* arg1) { + if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { + TDEActionMenu::remove(arg1); } return; } diff --git a/kdejava/koala/kdejava/KRadioAction.cpp b/kdejava/koala/kdejava/KRadioAction.cpp deleted file mode 100644 index 3406c578..00000000 --- a/kdejava/koala/kdejava/KRadioAction.cpp +++ /dev/null @@ -1,409 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRadioAction.h> - -class KRadioActionJBridge : public KRadioAction -{ -public: - KRadioActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KRadioAction(arg1,arg2,arg3,arg4) {}; - KRadioActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KRadioAction(arg1,arg2,arg3) {}; - KRadioActionJBridge(const TQString& arg1,const KShortcut& arg2) : KRadioAction(arg1,arg2) {}; - KRadioActionJBridge(const TQString& arg1) : KRadioAction(arg1) {}; - KRadioActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KRadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRadioActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KRadioAction(arg1,arg2,arg3,arg4,arg5) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KRadioAction(arg1,arg2,arg3,arg4,arg5) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KRadioAction(arg1,arg2,arg3,arg4) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KRadioAction(arg1,arg2,arg3) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KRadioAction(arg1,arg2) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KRadioAction(arg1,arg2,arg3,arg4,arg5) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KRadioAction(arg1,arg2,arg3,arg4) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KRadioAction(arg1,arg2,arg3) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2) : KRadioAction(arg1,arg2) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KRadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KRadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KRadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KRadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KRadioActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KRadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRadioActionJBridge(TQObject* arg1,const char* arg2) : KRadioAction(arg1,arg2) {}; - KRadioActionJBridge(TQObject* arg1) : KRadioAction(arg1) {}; - KRadioActionJBridge() : KRadioAction() {}; - void protected_slotActivated() { - KRadioAction::slotActivated(); - return; - } - ~KRadioActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRadioAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRadioAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRadioAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRadioAction","slotActivated")) { - KRadioAction::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.KRadioAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRadioAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRadioAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRadioAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRadioAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRadioAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRadioAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRadioAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRadioAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__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 KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KRadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRadioAction_newKRadioAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRadioAction_newKRadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRadioActionJBridge((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_kde_koala_KRadioAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KRadioActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/KRadioAction.h b/kdejava/koala/kdejava/KRadioAction.h deleted file mode 100644 index 79d1428f..00000000 --- a/kdejava/koala/kdejava/KRadioAction.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRadioAction__ -#define __org_kde_koala_KRadioAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRadioAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRadioAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_newKRadioAction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRadioAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRadioAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRadioAction__ */ diff --git a/kdejava/koala/kdejava/KRecentDocument.cpp b/kdejava/koala/kdejava/KRecentDocument.cpp deleted file mode 100644 index 02a94ccb..00000000 --- a/kdejava/koala/kdejava/KRecentDocument.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <krecentdocument.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kurl.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRecentDocument.h> - -class KRecentDocumentJBridge : public KRecentDocument -{ -public: - KRecentDocumentJBridge() : KRecentDocument() {}; - ~KRecentDocumentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_add__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring documentStr) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - KRecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_add__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring documentStr, jboolean isURL) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - KRecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr), (bool) isURL); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_add__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - KRecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring desktopEntryName) -{ - (void) cls; -static TQString* _qstring_desktopEntryName = 0; - KRecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KRecentDocumentJBridge::clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRecentDocument_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRecentDocument*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRecentDocument_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRecentDocument_maximumItems(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KRecentDocumentJBridge::maximumItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentDocument_newKRecentDocument(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRecentDocument_recentDocumentDirectory(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KRecentDocumentJBridge::recentDocumentDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRecentDocument_recentDocuments(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KRecentDocumentJBridge::recentDocuments(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KRecentDocument.h b/kdejava/koala/kdejava/KRecentDocument.h deleted file mode 100644 index 45d9435a..00000000 --- a/kdejava/koala/kdejava/KRecentDocument.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRecentDocument__ -#define __org_kde_koala_KRecentDocument__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_newKRecentDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRecentDocument_recentDocuments (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_add__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_add__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_add__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_clear (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRecentDocument_maximumItems (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRecentDocument_recentDocumentDirectory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentDocument_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRecentDocument_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRecentDocument__ */ diff --git a/kdejava/koala/kdejava/KRecentFilesAction.cpp b/kdejava/koala/kdejava/KRecentFilesAction.cpp deleted file mode 100644 index f4d2a576..00000000 --- a/kdejava/koala/kdejava/KRecentFilesAction.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kurl.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KRecentFilesAction.h> - -class KRecentFilesActionJBridge : public KRecentFilesAction -{ -public: - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4,uint arg5) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KRecentFilesAction(arg1,arg2,arg3,arg4) {}; - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KRecentFilesAction(arg1,arg2,arg3) {}; - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6,uint arg7) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRecentFilesActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KRecentFilesAction(arg1,arg2,arg3,arg4) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KRecentFilesAction(arg1,arg2,arg3,arg4) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KRecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KRecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KRecentFilesActionJBridge(TQObject* arg1,const char* arg2,uint arg3) : KRecentFilesAction(arg1,arg2,arg3) {}; - KRecentFilesActionJBridge(TQObject* arg1,const char* arg2) : KRecentFilesAction(arg1,arg2) {}; - KRecentFilesActionJBridge(TQObject* arg1) : KRecentFilesAction(arg1) {}; - KRecentFilesActionJBridge() : KRecentFilesAction() {}; - void protected_itemSelected(const TQString& arg1) { - KRecentFilesAction::itemSelected(arg1); - return; - } - void protected_menuAboutToShow() { - KRecentFilesAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - KRecentFilesAction::menuItemActivated(arg1); - return; - } - void protected_slotClicked() { - KRecentFilesAction::slotClicked(); - return; - } - void protected_slotActivated(int arg1) { - KRecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - KRecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - KRecentFilesAction::slotActivated(); - return; - } - ~KRecentFilesActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRecentFilesAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRecentFilesAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRecentFilesAction","clear")) { - KSelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRecentFilesAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRecentFilesAction","slotActivated")) { - KRecentFilesAction::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; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - 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.KRecentFilesAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_addURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring name) -{ -static TQString* _qstring_name = 0; - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRecentFilesAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRecentFilesAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_clearURLList(JNIEnv* env, jobject obj) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->clearURLList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRecentFilesAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRecentFilesAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRecentFilesAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRecentFilesAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_itemSelected(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_itemSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRecentFilesAction_maxItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRecentFilesAction*) QtSupport::getQt(env, obj))->maxItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRecentFilesAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRecentFilesAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((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_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint maxItems) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRecentFilesAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KRecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRecentFilesAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KRecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_removeURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_setMaxItems(JNIEnv* env, jobject obj, jint maxItems) -{ - ((KRecentFilesAction*) QtSupport::getQt(env, obj))->setMaxItems((uint) maxItems); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRecentFilesAction_slotClicked(JNIEnv* env, jobject obj) -{ - ((KRecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KRecentFilesAction.h b/kdejava/koala/kdejava/KRecentFilesAction.h deleted file mode 100644 index 6f26ec6b..00000000 --- a/kdejava/koala/kdejava/KRecentFilesAction.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRecentFilesAction__ -#define __org_kde_koala_KRecentFilesAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRecentFilesAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRecentFilesAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_newKRecentFilesAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRecentFilesAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRecentFilesAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRecentFilesAction_maxItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_setMaxItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_addURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_removeURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_clearURLList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_itemSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRecentFilesAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRecentFilesAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRecentFilesAction__ */ diff --git a/kdejava/koala/kdejava/KSelectAction.cpp b/kdejava/koala/kdejava/KSelectAction.cpp deleted file mode 100644 index 843d51ad..00000000 --- a/kdejava/koala/kdejava/KSelectAction.cpp +++ /dev/null @@ -1,643 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqstringlist.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KSelectAction.h> - -class KSelectActionJBridge : public KSelectAction -{ -public: - KSelectActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KSelectAction(arg1,arg2,arg3,arg4) {}; - KSelectActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KSelectAction(arg1,arg2,arg3) {}; - KSelectActionJBridge(const TQString& arg1,const KShortcut& arg2) : KSelectAction(arg1,arg2) {}; - KSelectActionJBridge(const TQString& arg1) : KSelectAction(arg1) {}; - KSelectActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KSelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSelectActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KSelectAction(arg1,arg2,arg3,arg4,arg5) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KSelectAction(arg1,arg2,arg3,arg4,arg5) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KSelectAction(arg1,arg2,arg3,arg4) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KSelectAction(arg1,arg2,arg3) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KSelectAction(arg1,arg2) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KSelectAction(arg1,arg2,arg3,arg4,arg5) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KSelectAction(arg1,arg2,arg3,arg4) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KSelectAction(arg1,arg2,arg3) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2) : KSelectAction(arg1,arg2) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KSelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KSelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KSelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSelectActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KSelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSelectActionJBridge(TQObject* arg1,const char* arg2) : KSelectAction(arg1,arg2) {}; - KSelectActionJBridge(TQObject* arg1) : KSelectAction(arg1) {}; - KSelectActionJBridge() : KSelectAction() {}; - void public_clear() { - KSelectAction::clear(); - return; - } - void protected_changeItem(int arg1,int arg2,const TQString& arg3) { - KSelectAction::changeItem(arg1,arg2,arg3); - return; - } - TQStringList protected_comboItems() { - return (TQStringList) KSelectAction::comboItems(); - } - void protected_updateCurrentItem(int arg1) { - KSelectAction::updateCurrentItem(arg1); - return; - } - void protected_updateComboWidth(int arg1) { - KSelectAction::updateComboWidth(arg1); - return; - } - void protected_updateItems(int arg1) { - KSelectAction::updateItems(arg1); - return; - } - void protected_updateClear(int arg1) { - KSelectAction::updateClear(arg1); - return; - } - void protected_slotActivated(int arg1) { - KSelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - KSelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - KSelectAction::slotActivated(); - return; - } - ~KSelectActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelectAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelectAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelectAction","clear")) { - KSelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelectAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelectAction","slotActivated")) { - KSelectAction::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; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - 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.KSelectAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_changeItem__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_changeItem((int) id, (int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((KSelectAction*) QtSupport::getQt(env, obj))->changeItem((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSelectAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSelectAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_clear(JNIEnv* env, jobject obj) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelectAction_comboItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_comboItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelectAction_comboWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSelectAction*) QtSupport::getQt(env, obj))->comboWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelectAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSelectAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSelectAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSelectAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSelectAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSelectAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KSelectAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelectAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelectAction_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSelectAction*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelectAction_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSelectAction*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelectAction_menuAccelsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSelectAction*) QtSupport::getQt(env, obj))->menuAccelsEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelectAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSelectAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__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 KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KSelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KSelectAction_newKSelectAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_newKSelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectActionJBridge((TQObject*) 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_KSelectAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KSelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelectAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KSelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelectAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSelectAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelectAction_removeAmpersandsInCombo(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSelectAction*) QtSupport::getQt(env, obj))->removeAmpersandsInCombo(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setComboWidth(JNIEnv* env, jobject obj, jint width) -{ - ((KSelectAction*) QtSupport::getQt(env, obj))->setComboWidth((int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((KSelectAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setEditable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSelectAction*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setItems(JNIEnv* env, jobject obj, jobjectArray lst) -{ -static TQStringList* _qlist_lst = 0; - ((KSelectAction*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, lst, &_qlist_lst)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setMaxComboViewCount(JNIEnv* env, jobject obj, jint n) -{ - ((KSelectAction*) QtSupport::getQt(env, obj))->setMaxComboViewCount((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_setMenuAccelsEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KSelectAction*) QtSupport::getQt(env, obj))->setMenuAccelsEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_slotActivated__I(JNIEnv* env, jobject obj, jint id) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_updateClear(JNIEnv* env, jobject obj, jint id) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateClear((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_updateComboWidth(JNIEnv* env, jobject obj, jint id) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateComboWidth((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_updateCurrentItem(JNIEnv* env, jobject obj, jint id) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrentItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSelectAction_updateItems(JNIEnv* env, jobject obj, jint id) -{ - ((KSelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateItems((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/KSelectAction.h b/kdejava/koala/kdejava/KSelectAction.h deleted file mode 100644 index 0aa952cf..00000000 --- a/kdejava/koala/kdejava/KSelectAction.h +++ /dev/null @@ -1,71 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSelectAction__ -#define __org_kde_koala_KSelectAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelectAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSelectAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_newKSelectAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelectAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelectAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelectAction_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelectAction_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSelectAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelectAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelectAction_comboWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setMaxComboViewCount (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelectAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelectAction_removeAmpersandsInCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setMenuAccelsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelectAction_menuAccelsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_setComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_changeItem__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelectAction_comboItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_updateCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_updateComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_updateItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_updateClear (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelectAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelectAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSelectAction__ */ diff --git a/kdejava/koala/kdejava/KSelector.h b/kdejava/koala/kdejava/KSelector.h deleted file mode 100644 index ef74741d..00000000 --- a/kdejava/koala/kdejava/KSelector.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSelector__ -#define __org_kde_koala_KSelector__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_newKSelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSelector_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setIndent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelector_indent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_drawArrow (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSelector_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSelector_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSelector_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSelector__ */ diff --git a/kdejava/koala/kdejava/KShortcut.cpp b/kdejava/koala/kdejava/KShortcut.cpp deleted file mode 100644 index c103b97a..00000000 --- a/kdejava/koala/kdejava/KShortcut.cpp +++ /dev/null @@ -1,303 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqkeysequence.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShortcut.h> - -class KShortcutJBridge : public KShortcut -{ -public: - KShortcutJBridge() : KShortcut() {}; - KShortcutJBridge(int arg1) : KShortcut(arg1) {}; - KShortcutJBridge(const TQKeySequence& arg1) : KShortcut(arg1) {}; - KShortcutJBridge(const KKey& arg1) : KShortcut(arg1) {}; - KShortcutJBridge(const KKeySequence& arg1) : KShortcut(arg1) {}; - KShortcutJBridge(const KShortcut& arg1) : KShortcut(arg1) {}; - KShortcutJBridge(const char* arg1) : KShortcut(arg1) {}; - ~KShortcutJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->append((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject spec) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->append((const KKey&)*(const KKey*) QtSupport::getQt(env, spec)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->append((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_clear(JNIEnv* env, jobject obj) -{ - ((KShortcut*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcut_compare(JNIEnv* env, jobject obj, jobject shortcut) -{ - jint xret = (jint) ((KShortcut*) QtSupport::getQt(env, obj))->compare((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_contains__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->contains((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_contains__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->contains((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcut_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KShortcut*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShortcut_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KShortcut*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__I(JNIEnv* env, jobject obj, jint keyQt) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((int) keyQt); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQString* _qstring_shortcut = 0; - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, shortcut, &_qstring_shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcut_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KShortcut*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__I(JNIEnv* env, jobject obj, jint keyQt) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((int) keyQt)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQCString* _qstring_shortcut = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((const char*) QtSupport::toCharString(env, shortcut, &_qstring_shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShortcutJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcut_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KShortcutJBridge::null(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_op_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->operator==((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_op_1lt(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->operator<((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_op_1not_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->operator!=((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShortcut_remove(JNIEnv* env, jobject obj, jobject keySeq) -{ - ((KShortcut*) QtSupport::getQt(env, obj))->remove((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcut_seq(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &((KShortcut*) QtSupport::getQt(env, obj))->seq((uint) i), "org.kde.koala.KKeySequence"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcut_setSeq(JNIEnv* env, jobject obj, jint i, jobject keySeq) -{ - jboolean xret = (jboolean) ((KShortcut*) QtSupport::getQt(env, obj))->setSeq((uint) i, (const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcut_toStringInternal__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KShortcut*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcut_toStringInternal__Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jobject pcutDefault) -{ - TQString _qstring; - _qstring = ((KShortcut*) QtSupport::getQt(env, obj))->toStringInternal((const KShortcut*) QtSupport::getQt(env, pcutDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcut_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KShortcut*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KShortcut.h b/kdejava/koala/kdejava/KShortcut.h deleted file mode 100644 index 68fa3ef2..00000000 --- a/kdejava/koala/kdejava/KShortcut.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShortcut__ -#define __org_kde_koala_KShortcut__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_newKShortcut__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcut_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcut_seq (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcut_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcut_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_contains__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_contains__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_setSeq (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_append__Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcut_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcut_toStringInternal__Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcut_toStringInternal__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcut_nil (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShortcut_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcut_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShortcut__ */ diff --git a/kdejava/koala/kdejava/KShortcutList.cpp b/kdejava/koala/kdejava/KShortcutList.cpp deleted file mode 100644 index 8f304c95..00000000 --- a/kdejava/koala/kdejava/KShortcutList.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <tqvariant.h> -#include <kshortcutlist.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KShortcutList.h> - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KShortcutList*) QtSupport::getQt(env, obj))->getOther((KShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcutList_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName) -{ -static TQString* _qstring_sName = 0; - jint xret = (jint) ((KShortcutList*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KShortcutList_index__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jint xret = (jint) ((KShortcutList*) QtSupport::getQt(env, obj))->index((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_readSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->setOther((KShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll, jboolean bGlobal) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((KShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll, (bool) bGlobal); - return xret; -} - diff --git a/kdejava/koala/kdejava/KShortcutList.h b/kdejava/koala/kdejava/KShortcutList.h deleted file mode 100644 index 15577b21..00000000 --- a/kdejava/koala/kdejava/KShortcutList.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShortcutList__ -#define __org_kde_koala_KShortcutList__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcutList_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KShortcutList_index__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_readSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_writeSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShortcutList_writeSettings__ (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShortcutList__ */ diff --git a/kdejava/koala/kdejava/KStdAccel.cpp b/kdejava/koala/kdejava/KStdAccel.cpp deleted file mode 100644 index 6e8c571d..00000000 --- a/kdejava/koala/kdejava/KStdAccel.cpp +++ /dev/null @@ -1,460 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstring.h> -#include <kstdaccel.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStdAccel.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_addBookmark(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::addBookmark(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_back(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::back(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_backwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::backwardWord(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_beginningOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::beginningOfLine(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_close(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::close(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_completion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::completion(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_copy(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::copy(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_cut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::cut(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_deleteWordBack(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::deleteWordBack(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_deleteWordForward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::deleteWordForward(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_endOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::endOfLine(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_end(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::end(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_findNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::findNext(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_findPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::findPrev(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KStdAccel_findStdAccel(JNIEnv* env, jclass cls, jobject keySeq) -{ - (void) cls; - jint xret = (jint) KStdAccel::findStdAccel((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_find(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::find(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_forwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::forwardWord(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_forward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::forward(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_fullScreen(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::fullScreen(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_gotoLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::gotoLine(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_help(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::help(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_home(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::home(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAccel_label(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = KStdAccel::label((KStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAccel_name(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = KStdAccel::name((KStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_nextCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::nextCompletion(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_next(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::next(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_openNew(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::openNew(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_open(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::open(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_pasteSelection(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::pasteSelection(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_paste(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::paste(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_popupMenuContext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::popupMenuContext(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_prevCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::prevCompletion(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_print(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::print(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_prior(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::prior(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_quit(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::quit(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_redo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::redo(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_reload(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::reload(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_replace(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::replace(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_rotateDown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::rotateDown(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_rotateUp(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::rotateUp(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_save(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::save(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_selectAll(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::selectAll(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_shortcutDefault3(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KShortcut(KStdAccel::shortcutDefault3((KStdAccel::StdAccel) id)), "org.kde.koala.KShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_shortcutDefault4(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KShortcut(KStdAccel::shortcutDefault4((KStdAccel::StdAccel) id)), "org.kde.koala.KShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_shortcutDefault(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KShortcut(KStdAccel::shortcutDefault((KStdAccel::StdAccel) id)), "org.kde.koala.KShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_shortcut(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::shortcut((KStdAccel::StdAccel) id), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_showMenubar(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::showMenubar(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_substringCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::substringCompletion(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_tabNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::tabNext(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_tabPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::tabPrev(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_undo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::undo(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_up(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::up(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_whatsThis__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::whatsThis(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAccel_whatsThis__I(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = KStdAccel::whatsThis((KStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_zoomIn(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::zoomIn(), "org.kde.koala.KShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAccel_zoomOut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &KStdAccel::zoomOut(), "org.kde.koala.KShortcut"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStdAccel.h b/kdejava/koala/kdejava/KStdAccel.h deleted file mode 100644 index 4e56f007..00000000 --- a/kdejava/koala/kdejava/KStdAccel.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStdAccel__ -#define __org_kde_koala_KStdAccel__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_shortcut (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAccel_name (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAccel_label (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAccel_whatsThis__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStdAccel_findStdAccel (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_shortcutDefault (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_shortcutDefault3 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_shortcutDefault4 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_open (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_openNew (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_close (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_save (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_print (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_quit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_undo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_redo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_cut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_copy (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_paste (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_pasteSelection (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_selectAll (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_deleteWordBack (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_deleteWordForward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_find (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_findNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_findPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_replace (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_zoomIn (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_zoomOut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_home (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_end (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_beginningOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_endOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_prior (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_next (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_gotoLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_addBookmark (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_tabNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_tabPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_fullScreen (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_help (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_completion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_prevCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_nextCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_substringCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_rotateUp (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_rotateDown (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_popupMenuContext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_whatsThis__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_reload (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_up (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_back (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_forward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_backwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_forwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAccel_showMenubar (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStdAccel__ */ diff --git a/kdejava/koala/kdejava/KStdAction.cpp b/kdejava/koala/kdejava/KStdAction.cpp index 2d436035..1ac3ecf0 100644 --- a/kdejava/koala/kdejava/KStdAction.cpp +++ b/kdejava/koala/kdejava/KStdAction.cpp @@ -7,546 +7,546 @@ #include <kdejava/KStdAction.h> JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jint id, jstring name, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jstring name, jobject recvr, jstring slot, jobject parent) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jint id, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window) +Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window)), "org.kde.koala.KToggleFullScreenAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window)), "org.kde.koala.TDEToggleFullScreenAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window, jstring name) +Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KToggleFullScreenAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleFullScreenAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } @@ -560,393 +560,393 @@ Java_org_kde_koala_KStdAction_name(JNIEnv* env, jclass cls, jint id) } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KRecentFilesAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDERecentFilesAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KRecentFilesAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDERecentFilesAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KToggleAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KToggleAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KToggleAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KToggleAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } @@ -969,121 +969,121 @@ Java_org_kde_koala_KStdAction_stdNames(JNIEnv* env, jclass cls) } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) +Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) +Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } diff --git a/kdejava/koala/kdejava/KStdAction.h b/kdejava/koala/kdejava/KStdAction.h index 711603f5..6925403d 100644 --- a/kdejava/koala/kdejava/KStdAction.h +++ b/kdejava/koala/kdejava/KStdAction.h @@ -10,133 +10,133 @@ extern "C" { #endif -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jint, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jobject, jstring, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_name (JNIEnv *env, jclass, jint); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_stdName (JNIEnv *env, jclass, jint); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_stdNames (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); #ifdef __cplusplus } diff --git a/kdejava/koala/kdejava/KSystemTray.cpp b/kdejava/koala/kdejava/KSystemTray.cpp index 7b698248..559053ce 100644 --- a/kdejava/koala/kdejava/KSystemTray.cpp +++ b/kdejava/koala/kdejava/KSystemTray.cpp @@ -21,7 +21,7 @@ public: KSystemTray::mouseReleaseEvent(arg1); return; } - void protected_contextMenuAboutToShow(KPopupMenu* arg1) { + void protected_contextMenuAboutToShow(TDEPopupMenu* arg1) { KSystemTray::contextMenuAboutToShow(arg1); return; } @@ -271,8 +271,8 @@ public: } return; } - void contextMenuAboutToShow(KPopupMenu* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuAboutToShow",(void*)arg1,"org.kde.koala.KPopupMenu")) { + void contextMenuAboutToShow(TDEPopupMenu* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuAboutToShow",(void*)arg1,"org.kde.koala.TDEPopupMenu")) { KSystemTray::contextMenuAboutToShow(arg1); } return; @@ -421,7 +421,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -436,14 +436,14 @@ Java_org_kde_koala_KSystemTray_className(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_contextMenuAboutToShow(JNIEnv* env, jobject obj, jobject menu) { - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuAboutToShow((KPopupMenu*) QtSupport::getQt(env, menu)); + ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuAboutToShow((TDEPopupMenu*) QtSupport::getQt(env, menu)); return; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_contextMenu(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.koala.KPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.koala.TDEPopupMenu"); return xret; } diff --git a/kdejava/koala/kdejava/KToggleAction.cpp b/kdejava/koala/kdejava/KToggleAction.cpp deleted file mode 100644 index 7d90f38b..00000000 --- a/kdejava/koala/kdejava/KToggleAction.cpp +++ /dev/null @@ -1,480 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToggleAction.h> - -class KToggleActionJBridge : public KToggleAction -{ -public: - KToggleActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3,const char* arg4) : KToggleAction(arg1,arg2,arg3,arg4) {}; - KToggleActionJBridge(const TQString& arg1,const KShortcut& arg2,TQObject* arg3) : KToggleAction(arg1,arg2,arg3) {}; - KToggleActionJBridge(const TQString& arg1,const KShortcut& arg2) : KToggleAction(arg1,arg2) {}; - KToggleActionJBridge(const TQString& arg1) : KToggleAction(arg1) {}; - KToggleActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : KToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToggleActionJBridge(const TQString& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : KToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,TQObject* arg4) : KToggleAction(arg1,arg2,arg3,arg4) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3) : KToggleAction(arg1,arg2,arg3) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KToggleAction(arg1,arg2) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KToggleAction(arg1,arg2,arg3,arg4) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KToggleAction(arg1,arg2,arg3) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2) : KToggleAction(arg1,arg2) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KToggleActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToggleActionJBridge(TQObject* arg1,const char* arg2) : KToggleAction(arg1,arg2) {}; - KToggleActionJBridge(TQObject* arg1) : KToggleAction(arg1) {}; - KToggleActionJBridge() : KToggleAction() {}; - void protected_updateChecked(int arg1) { - KToggleAction::updateChecked(arg1); - return; - } - void protected_slotActivated() { - KToggleAction::slotActivated(); - return; - } - ~KToggleActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleAction","slotActivated")) { - KToggleAction::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.KToggleAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToggleAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToggleAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToggleAction_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToggleAction_exclusiveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KToggleAction*) QtSupport::getQt(env, obj))->exclusiveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KToggleAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KToggleAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToggleAction_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToggleAction*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToggleAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToggleAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToggleAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__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 KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 KToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KToggleAction_newKToggleAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_newKToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleActionJBridge((TQObject*) 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_KToggleAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToggleAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_setCheckedState(JNIEnv* env, jobject obj, jobject checkedItem) -{ - ((KToggleAction*) QtSupport::getQt(env, obj))->setCheckedState((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, checkedItem)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KToggleAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_setExclusiveGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KToggleAction*) QtSupport::getQt(env, obj))->setExclusiveGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToggleAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KToggleAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleAction_updateChecked(JNIEnv* env, jobject obj, jint id) -{ - ((KToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_updateChecked((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/KToggleAction.h b/kdejava/koala/kdejava/KToggleAction.h deleted file mode 100644 index 65eaac6d..00000000 --- a/kdejava/koala/kdejava/KToggleAction.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToggleAction__ -#define __org_kde_koala_KToggleAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToggleAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToggleAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_newKToggleAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToggleAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToggleAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToggleAction_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToggleAction_exclusiveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_setExclusiveGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_setCheckedState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToggleAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_updateChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToggleAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToggleAction__ */ diff --git a/kdejava/koala/kdejava/KToggleFullScreenAction.cpp b/kdejava/koala/kdejava/KToggleFullScreenAction.cpp deleted file mode 100644 index 2e5a9148..00000000 --- a/kdejava/koala/kdejava/KToggleFullScreenAction.cpp +++ /dev/null @@ -1,170 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToggleFullScreenAction.h> - -class KToggleFullScreenActionJBridge : public KToggleFullScreenAction -{ -public: - KToggleFullScreenActionJBridge(const KShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : KToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KToggleFullScreenAction::eventFilter(arg1,arg2); - } - ~KToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotActivated")) { - KToggleAction::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.KToggleFullScreenAction",object,event)) { - return KToggleFullScreenAction::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToggleFullScreenAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToggleFullScreenAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleFullScreenAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToggleFullScreenAction_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToggleFullScreenAction_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KToggleFullScreenActionJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleFullScreenAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KToggleFullScreenAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KToggleFullScreenAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToggleFullScreenAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToggleFullScreenAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToggleFullScreenAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleFullScreenAction_newKToggleFullScreenAction(JNIEnv* env, jobject obj, jobject cut, jobject receiver, jstring slot, jobject parent, jobject window, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToggleFullScreenActionJBridge((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleFullScreenAction_setWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((KToggleFullScreenAction*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - diff --git a/kdejava/koala/kdejava/KToggleFullScreenAction.h b/kdejava/koala/kdejava/KToggleFullScreenAction.h deleted file mode 100644 index 332c3caa..00000000 --- a/kdejava/koala/kdejava/KToggleFullScreenAction.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToggleFullScreenAction__ -#define __org_kde_koala_KToggleFullScreenAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToggleFullScreenAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToggleFullScreenAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleFullScreenAction_newKToggleFullScreenAction (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleFullScreenAction_setWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleFullScreenAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToggleFullScreenAction_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleFullScreenAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleFullScreenAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToggleFullScreenAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToggleFullScreenAction__ */ diff --git a/kdejava/koala/kdejava/KToggleToolBarAction.cpp b/kdejava/koala/kdejava/KToggleToolBarAction.cpp deleted file mode 100644 index d86c1fcd..00000000 --- a/kdejava/koala/kdejava/KToggleToolBarAction.cpp +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToggleToolBarAction.h> - -class KToggleToolBarActionJBridge : public KToggleToolBarAction -{ -public: - KToggleToolBarActionJBridge(const char* arg1,const TQString& arg2,KActionCollection* arg3,const char* arg4) : KToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - KToggleToolBarActionJBridge(KToolBar* arg1,const TQString& arg2,KActionCollection* arg3,const char* arg4) : KToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - ~KToggleToolBarActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleToolBarAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleToolBarAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleToolBarAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleToolBarAction","slotActivated")) { - KToggleAction::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.KToggleToolBarAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToggleToolBarAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToggleToolBarAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleToolBarAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToggleToolBarAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleToolBarAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KToggleToolBarAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KToggleToolBarAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToggleToolBarAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToggleToolBarAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToggleToolBarAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleToolBarAction_newKToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_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 KToggleToolBarActionJBridge((const char*) QtSupport::toCharString(env, toolBarName, &_qstring_toolBarName), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KActionCollection*) 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_KToggleToolBarAction_newKToggleToolBarAction__Lorg_kde_koala_KToolBar_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_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 KToggleToolBarActionJBridge((KToolBar*) QtSupport::getQt(env, toolBar), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KActionCollection*) 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_KToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToggleToolBarAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KToggleToolBarAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToggleToolBarAction_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToggleToolBarAction*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.KToolBar"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KToggleToolBarAction.h b/kdejava/koala/kdejava/KToggleToolBarAction.h deleted file mode 100644 index 29557377..00000000 --- a/kdejava/koala/kdejava/KToggleToolBarAction.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToggleToolBarAction__ -#define __org_kde_koala_KToggleToolBarAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToggleToolBarAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToggleToolBarAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleToolBarAction_newKToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleToolBarAction_newKToggleToolBarAction__Lorg_kde_koala_KToolBar_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToggleToolBarAction_toolBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleToolBarAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleToolBarAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToggleToolBarAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToggleToolBarAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToggleToolBarAction__ */ diff --git a/kdejava/koala/kdejava/KToolBar.cpp b/kdejava/koala/kdejava/KToolBar.cpp deleted file mode 100644 index 5492cf07..00000000 --- a/kdejava/koala/kdejava/KToolBar.cpp +++ /dev/null @@ -1,1712 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqsizepolicy.h> -#include <ktoolbar.h> -#include <tqcombobox.h> -#include <tqpixmap.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tqstringlist.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToolBar.h> - -class KToolBarJBridge : public KToolBar -{ -public: - KToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : KToolBar(arg1,arg2,arg3,arg4) {}; - KToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KToolBar(arg1,arg2,arg3) {}; - KToolBarJBridge(TQWidget* arg1,const char* arg2) : KToolBar(arg1,arg2) {}; - KToolBarJBridge(TQWidget* arg1) : KToolBar(arg1) {}; - KToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : KToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5) : KToolBar(arg1,arg2,arg3,arg4,arg5) {}; - KToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4) : KToolBar(arg1,arg2,arg3,arg4) {}; - KToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3) : KToolBar(arg1,arg2,arg3) {}; - KToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2) : KToolBar(arg1,arg2) {}; - KToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : KToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5) : KToolBar(arg1,arg2,arg3,arg4,arg5) {}; - KToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4) : KToolBar(arg1,arg2,arg3,arg4) {}; - KToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3) : KToolBar(arg1,arg2,arg3) {}; - KToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2) : KToolBar(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KToolBar::mousePressEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - KToolBar::childEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KToolBar::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KToolBar::resizeEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) KToolBar::event(arg1); - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2,bool arg3) { - KToolBar::applyAppearanceSettings(arg1,arg2,arg3); - return; - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2) { - KToolBar::applyAppearanceSettings(arg1,arg2); - return; - } - TQString protected_settingsGroup() { - return (TQString) KToolBar::settingsGroup(); - } - ~KToolBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KToolBar::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::hideEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - KToolBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","dock")) { - TQDockWindow::dock(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KToolBar::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","undock")) { - TQDockWindow::undock(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KToolBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_addConnection(JNIEnv* env, jobject obj, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->addConnection((int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_alignItemRight__I(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_alignItemRight__IZ(JNIEnv* env, jobject obj, jint id, jboolean right) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id, (bool) right); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_animatedWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->animatedWidget((int) id), "org.kde.koala.KAnimWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring _configGroup) -{ -static TQString* _qstring__configGroup = 0; - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring _configGroup, jboolean forceGlobal) -{ -static TQString* _qstring__configGroup = 0; - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup), (bool) forceGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring configGroup, jboolean force) -{ -static TQString* _qstring_configGroup = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup), (bool) force); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_barPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->barPos(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_changeComboItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_changeComboItem__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToolBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_clearCombo(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->clearCombo((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_clear(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_contextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBar*) QtSupport::getQt(env, obj))->contextMenuEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToolBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KToolBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_fullSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBar*) QtSupport::getQt(env, obj))->fullSize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_getButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->getButton((int) id), "org.kde.koala.KToolBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_getComboItem__I(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((KToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_getComboItem__II(JNIEnv* env, jobject obj, jint id, jint index) -{ - TQString _qstring; - _qstring = ((KToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id, (int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_getCombo(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->getCombo((int) id), "org.kde.koala.KComboBox"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_getLinedText(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((KToolBar*) QtSupport::getQt(env, obj))->getLinedText((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_getLined(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->getLined((int) id), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_getWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->getWidget((int) id), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_hideItem(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->hideItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_hide(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_highlightSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KToolBarJBridge::highlightSetting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_highlight(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBar*) QtSupport::getQt(env, obj))->highlight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_iconSizeDefault(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->iconSizeDefault(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_iconTextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->iconText(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_iconTextSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KToolBarJBridge::iconTextSetting(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_idAt(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons, jint index) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_insertComboItem(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->insertComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_insertComboList(JNIEnv* env, jobject obj, jint id, jobjectArray list, jint index) -{ -static TQStringList* _qlist_list = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->insertComboList((int) id, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLineSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLineSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLineSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertWidget__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_insertWidget__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget, jint index) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_isButtonOn(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((KToolBar*) QtSupport::getQt(env, obj))->isButtonOn((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBar_itemIndex(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((KToolBar*) QtSupport::getQt(env, obj))->itemIndex((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_loadState(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->loadState((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jobject parentWindow, jint dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQWidget*) 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_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_positionYourself__(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->positionYourself(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_positionYourself__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->positionYourself((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_removeComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->removeComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_removeItemDelayed(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->removeItemDelayed((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_saveSettings(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->saveSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_saveState__(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->saveState(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_saveState__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->saveState((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setAutoRepeat__I(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setAutoRepeat__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setBarPos(JNIEnv* env, jobject obj, jint bpos) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setBarPos((KToolBar::BarPosition) bpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setButtonIconSet(JNIEnv* env, jobject obj, jint id, jobject iconset) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setButtonIconSet((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setButtonIcon(JNIEnv* env, jobject obj, jint id, jstring _icon) -{ -static TQString* _qstring__icon = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->setButtonIcon((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setButtonPixmap(JNIEnv* env, jobject obj, jint id, jobject _pixmap) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setButtonPixmap((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, _pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setButton(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setButton((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setCurrentComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setCurrentComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint id, jobject _popup) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jint id, jobject _popup, jboolean toggle) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup), (bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setEnableContextMenu__(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setEnableContextMenu__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setFlat(JNIEnv* env, jobject obj, jboolean flag) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setFlat((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setFullSize__(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setFullSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setFullSize__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setFullSize((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setIconSize__I(JNIEnv* env, jobject obj, jint size) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setIconSize__IZ(JNIEnv* env, jobject obj, jint size, jboolean update) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setIconText__I(JNIEnv* env, jobject obj, jint it) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setIconText((KToolBar::IconText) it); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setIconText__IZ(JNIEnv* env, jobject obj, jint it, jboolean update) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setIconText((KToolBar::IconText) it, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setIconText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setItemAutoSized__I(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setItemAutoSized__IZ(JNIEnv* env, jobject obj, jint id, jboolean yes) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id, (bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enabled) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setItemNoStyle__I(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setItemNoStyle__IZ(JNIEnv* env, jobject obj, jint id, jboolean no_style) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id, (bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setLinedText(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->setLinedText((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setTitle(JNIEnv* env, jobject obj, jstring _title) -{ -static TQString* _qstring__title = 0; - ((KToolBar*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, _title, &_qstring__title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setToggle__I(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setToggle__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_setXMLGUIClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->setXMLGUIClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_showItem(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->showItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_show(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBar_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KToolBar*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBar_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KToolBar*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_toggleButton(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->toggleButton((int) id); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBar_transparentSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KToolBarJBridge::transparentSetting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_updateRects__(JNIEnv* env, jobject obj) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->updateRects(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBar_updateRects__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KToolBar*) QtSupport::getQt(env, obj))->updateRects((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KToolBar.h b/kdejava/koala/kdejava/KToolBar.h deleted file mode 100644 index 08107f9f..00000000 --- a/kdejava/koala/kdejava/KToolBar.h +++ /dev/null @@ -1,180 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToolBar__ -#define __org_kde_koala_KToolBar__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_newKToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLineSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLineSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertLineSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertWidget__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertWidget__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_animatedWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_addConnection (JNIEnv *env, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setButtonIcon (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setButtonPixmap (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setButtonIconSet (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setAutoRepeat__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setAutoRepeat__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setToggle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setToggle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_toggleButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_isButtonOn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setLinedText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_getLinedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_insertComboItem (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_insertComboList (JNIEnv *env, jobject, jint, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_removeComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setCurrentComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_changeComboItem__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_changeComboItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_clearCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_getComboItem__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_getComboItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_getCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_getLined (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_getButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_alignItemRight__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_alignItemRight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_getWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setItemAutoSized__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setItemAutoSized__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_removeItemDelayed (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_hideItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_showItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_itemIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_idAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setFullSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setFullSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_fullSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setBarPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_barPos (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setIconText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setIconText__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_iconTextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setIconSize__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setIconSize__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_iconSizeDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setEnableContextMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setEnableContextMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_contextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setItemNoStyle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setItemNoStyle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setFlat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_saveState__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_saveSettings (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setXMLGUIClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_highlight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBar_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_updateRects__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_updateRects__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_loadState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_saveState__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_positionYourself__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_positionYourself__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_setIconText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_highlightSetting (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_transparentSetting (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBar_iconTextSetting (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBar_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToolBar__ */ diff --git a/kdejava/koala/kdejava/KToolBarButton.cpp b/kdejava/koala/kdejava/KToolBarButton.cpp deleted file mode 100644 index 4915749c..00000000 --- a/kdejava/koala/kdejava/KToolBarButton.cpp +++ /dev/null @@ -1,893 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqsize.h> -#include <tqpixmap.h> -#include <tqiconset.h> -#include <tqstring.h> -#include <ktoolbarbutton.h> -#include <tqpalette.h> -#include <tqnamespace.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToolBarButton.h> - -class KToolBarButtonJBridge : public KToolBarButton -{ -public: - KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5,TDEInstance* arg6) : KToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {}; - KToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {}; - KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : KToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4) : KToolBarButton(arg1,arg2,arg3,arg4) {}; - KToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3) : KToolBarButton(arg1,arg2,arg3) {}; - KToolBarButtonJBridge(TQWidget* arg1,const char* arg2) : KToolBarButton(arg1,arg2) {}; - KToolBarButtonJBridge(TQWidget* arg1) : KToolBarButton(arg1) {}; - KToolBarButtonJBridge() : KToolBarButton() {}; - bool protected_event(TQEvent* arg1) { - return (bool) KToolBarButton::event(arg1); - } - void protected_paletteChange(const TQPalette& arg1) { - KToolBarButton::paletteChange(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KToolBarButton::leaveEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KToolBarButton::enterEvent(arg1); - return; - } - void protected_drawButton(TQPainter* arg1) { - KToolBarButton::drawButton(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KToolBarButton::eventFilter(arg1,arg2); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KToolBarButton::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KToolBarButton::mouseReleaseEvent(arg1); - return; - } - void protected_showMenu() { - KToolBarButton::showMenu(); - return; - } - TQSize protected_sizeHint() { - return (TQSize) KToolBarButton::sizeHint(); - } - TQSize protected_minimumSizeHint() { - return (TQSize) KToolBarButton::minimumSizeHint(); - } - TQSize protected_minimumSize() { - return (TQSize) KToolBarButton::minimumSize(); - } - bool protected_isRaised() { - return (bool) KToolBarButton::isRaised(); - } - bool protected_isActive() { - return (bool) KToolBarButton::isActive(); - } - int protected_iconTextMode() { - return (int) KToolBarButton::iconTextMode(); - } - void protected_slotClicked() { - KToolBarButton::slotClicked(); - return; - } - void protected_slotPressed() { - KToolBarButton::slotPressed(); - return; - } - void protected_slotReleased() { - KToolBarButton::slotReleased(); - return; - } - void protected_slotToggled() { - KToolBarButton::slotToggled(); - return; - } - void protected_slotDelayTimeout() { - KToolBarButton::slotDelayTimeout(); - return; - } - ~KToolBarButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","hide")) { - TQWidget::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KToolBarButton::setIconSet(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQToolButton::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KToolBarButton::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KToolBarButton::mouseReleaseEvent(arg1); - } - return; - } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KToolBarButton::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KToolBarButton::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KToolBarButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToolBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToolBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_drawButton(JNIEnv* env, jobject obj, jobject p) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarButton_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KToolBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KToolBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBarButton_iconTextMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_iconTextMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBarButton_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KToolBarButton*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarButton_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarButton_isRaised(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isRaised(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarButton_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarButton_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_modeChange(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->modeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent) -{ -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) 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_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (TDEInstance*) QtSupport::getQt(env, _instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) 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_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name, jstring txt) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarButtonJBridge((TQWidget*) 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_KToolBarButton_on__(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->on(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_on__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->on((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarButton_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setIconSet(JNIEnv* env, jobject obj, jobject iconset) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((KToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setNoStyle__(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setNoStyle__Z(JNIEnv* env, jobject obj, jboolean no_style) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle((bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setRadio__(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setRadio(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setRadio__Z(JNIEnv* env, jobject obj, jboolean f) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setRadio((bool) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setTextLabel(JNIEnv* env, jobject obj, jstring arg1, jboolean tipToo) -{ -static TQString* _qstring_arg1 = 0; - ((KToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) tipToo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KToolBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setToggle__(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setToggle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_setToggle__Z(JNIEnv* env, jobject obj, jboolean toggle) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->setToggle((bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_showMenu(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showMenu(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_slotClicked(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_slotDelayTimeout(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayTimeout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_slotPressed(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_slotReleased(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotReleased(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_slotToggled(JNIEnv* env, jobject obj) -{ - ((KToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotToggled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarButton_toggle(JNIEnv* env, jobject obj) -{ - ((KToolBarButton*) QtSupport::getQt(env, obj))->toggle(); - return; -} - diff --git a/kdejava/koala/kdejava/KToolBarButton.h b/kdejava/koala/kdejava/KToolBarButton.h deleted file mode 100644 index e6d27a00..00000000 --- a/kdejava/koala/kdejava/KToolBarButton.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToolBarButton__ -#define __org_kde_koala_KToolBarButton__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_newKToolBarButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_on__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_on__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setToggle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setToggle__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarButton_popup (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBarButton_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setRadio__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setRadio__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setNoStyle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setNoStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_modeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_setTextLabel (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarButton_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_showMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarButton_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarButton_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarButton_isRaised (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarButton_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBarButton_iconTextMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_slotPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_slotReleased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_slotToggled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_slotDelayTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToolBarButton__ */ diff --git a/kdejava/koala/kdejava/KToolBarPopupAction.cpp b/kdejava/koala/kdejava/KToolBarPopupAction.cpp deleted file mode 100644 index 6df359ec..00000000 --- a/kdejava/koala/kdejava/KToolBarPopupAction.cpp +++ /dev/null @@ -1,277 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kactionclasses.h> -#include <tqstring.h> -#include <kguiitem.h> -#include <kshortcut.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToolBarPopupAction.h> - -class KToolBarPopupActionJBridge : public KToolBarPopupAction -{ -public: - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4,const char* arg5) : KToolBarPopupAction(arg1,arg2,arg3,arg4,arg5) {}; - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,TQObject* arg4) : KToolBarPopupAction(arg1,arg2,arg3,arg4) {}; - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3) : KToolBarPopupAction(arg1,arg2,arg3) {}; - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2) : KToolBarPopupAction(arg1,arg2) {}; - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : KToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const KShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : KToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KToolBarPopupActionJBridge(const KGuiItem& arg1,const KShortcut& arg2,const TQObject* arg3,const char* arg4,KActionCollection* arg5,const char* arg6) : KToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - ~KToolBarPopupActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarPopupAction","activate")) { - KAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarPopupAction","slotKeycodeChanged")) { - KAction::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")) { - KAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarPopupAction","slotDestroyed")) { - KAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarPopupAction","slotActivated")) { - KAction::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.KToolBarPopupAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBarPopupAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarPopupAction_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToolBarPopupAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KToolBarPopupAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KToolBarPopupAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarPopupAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarPopupAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarPopupAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__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 KToolBarPopupActionJBridge((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_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, 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 KToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, 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 KToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarPopupActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarPopupAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarPopupAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.KPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_setDelayed(JNIEnv* env, jobject obj, jboolean delayed) -{ - ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->setDelayed((bool) delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarPopupAction_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarPopupAction_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KToolBarPopupAction*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KToolBarPopupAction.h b/kdejava/koala/kdejava/KToolBarPopupAction.h deleted file mode 100644 index 66a6440a..00000000 --- a/kdejava/koala/kdejava/KToolBarPopupAction.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToolBarPopupAction__ -#define __org_kde_koala_KToolBarPopupAction__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarPopupAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBarPopupAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_newKToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarPopupAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarPopupAction_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarPopupAction_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarPopupAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarPopupAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToolBarPopupAction__ */ diff --git a/kdejava/koala/kdejava/KToolBarRadioGroup.cpp b/kdejava/koala/kdejava/KToolBarRadioGroup.cpp deleted file mode 100644 index 21a94240..00000000 --- a/kdejava/koala/kdejava/KToolBarRadioGroup.cpp +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <ktoolbarradiogroup.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KToolBarRadioGroup.h> - -class KToolBarRadioGroupJBridge : public KToolBarRadioGroup -{ -public: - KToolBarRadioGroupJBridge(KToolBar* arg1,const char* arg2) : KToolBarRadioGroup(arg1,arg2) {}; - KToolBarRadioGroupJBridge(KToolBar* arg1) : KToolBarRadioGroup(arg1) {}; - ~KToolBarRadioGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - 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 eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KToolBarRadioGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_addButton(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBarRadioGroup*) QtSupport::getQt(env, obj))->addButton((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBarRadioGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KToolBarRadioGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KToolBarRadioGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KToolBarRadioGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KToolBarRadioGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarRadioGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarRadioGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarRadioGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_newKToolBarRadioGroup__Lorg_kde_koala_KToolBar_2(JNIEnv* env, jobject obj, jobject _parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarRadioGroupJBridge((KToolBar*) QtSupport::getQt(env, _parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_newKToolBarRadioGroup__Lorg_kde_koala_KToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _parent, jstring _name) -{ -static TQCString* _qstring__name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarRadioGroupJBridge((KToolBar*) 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_KToolBarRadioGroup_removeButton(JNIEnv* env, jobject obj, jint id) -{ - ((KToolBarRadioGroup*) QtSupport::getQt(env, obj))->removeButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarRadioGroup_slotToggled(JNIEnv* env, jobject obj, jint arg1) -{ - ((KToolBarRadioGroup*) QtSupport::getQt(env, obj))->slotToggled((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KToolBarRadioGroup.h b/kdejava/koala/kdejava/KToolBarRadioGroup.h deleted file mode 100644 index 69b3fa5f..00000000 --- a/kdejava/koala/kdejava/KToolBarRadioGroup.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToolBarRadioGroup__ -#define __org_kde_koala_KToolBarRadioGroup__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarRadioGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBarRadioGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_newKToolBarRadioGroup__Lorg_kde_koala_KToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_newKToolBarRadioGroup__Lorg_kde_koala_KToolBar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_addButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_removeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_slotToggled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarRadioGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarRadioGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToolBarRadioGroup__ */ diff --git a/kdejava/koala/kdejava/KToolBarSeparator.h b/kdejava/koala/kdejava/KToolBarSeparator.h deleted file mode 100644 index 6f2d3caa..00000000 --- a/kdejava/koala/kdejava/KToolBarSeparator.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KToolBarSeparator__ -#define __org_kde_koala_KToolBarSeparator__ - -#include <jni.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KToolBarSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_newKToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_newKToolBarSeparator__IZLorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarSeparator_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KToolBarSeparator_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KToolBarSeparator_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarSeparator_showLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KToolBarSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KToolBarSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KToolBarSeparator__ */ diff --git a/kdejava/koala/kdejava/KURLBarListBox.cpp b/kdejava/koala/kdejava/KURLBarListBox.cpp index f41493a5..18d5a6c0 100644 --- a/kdejava/koala/kdejava/KURLBarListBox.cpp +++ b/kdejava/koala/kdejava/KURLBarListBox.cpp @@ -112,7 +112,7 @@ public: } void focusOutEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListBox::focusOutEvent(arg1); + TDEListBox::focusOutEvent(arg1); } return; } @@ -238,7 +238,7 @@ public: } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListBox::keyPressEvent(arg1); + TDEListBox::keyPressEvent(arg1); } return; } @@ -355,7 +355,7 @@ public: } void leaveEvent(TQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListBox::leaveEvent(arg1); + TDEListBox::leaveEvent(arg1); } return; } @@ -367,7 +367,7 @@ public: } void contentsMousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMousePressEvent(arg1); + TDEListBox::contentsMousePressEvent(arg1); } return; } @@ -487,7 +487,7 @@ public: } void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMouseDoubleClickEvent(arg1); + TDEListBox::contentsMouseDoubleClickEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KValueSelector.cpp b/kdejava/koala/kdejava/KValueSelector.cpp index 13258db2..ab1ca047 100644 --- a/kdejava/koala/kdejava/KValueSelector.cpp +++ b/kdejava/koala/kdejava/KValueSelector.cpp @@ -108,7 +108,7 @@ public: } void valueChange() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","valueChange")) { - KSelector::valueChange(); + TDESelector::valueChange(); } return; } @@ -144,7 +144,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KSelector::paintEvent(arg1); + TDESelector::paintEvent(arg1); } return; } @@ -303,13 +303,13 @@ public: } void mousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mousePressEvent(arg1); + TDESelector::mousePressEvent(arg1); } return; } void mouseMoveEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mouseMoveEvent(arg1); + TDESelector::mouseMoveEvent(arg1); } return; } @@ -345,7 +345,7 @@ public: } void wheelEvent(TQWheelEvent* arg1) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KSelector::wheelEvent(arg1); + TDESelector::wheelEvent(arg1); } return; } diff --git a/kdejava/koala/kdejava/KWidgetAction.cpp b/kdejava/koala/kdejava/KWidgetAction.cpp index 21eda002..cb38a5eb 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(TQWidget* arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; void protected_slotToolbarDestroyed() { KWidgetAction::slotToolbarDestroyed(); return; @@ -18,7 +18,7 @@ public: ~KWidgetActionJBridge() {QtSupport::qtKeyDeleted(this);} void activate() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","activate")) { - KAction::activate(); + TDEAction::activate(); } return; } @@ -33,7 +33,7 @@ public: } void slotKeycodeChanged() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotKeycodeChanged")) { - KAction::slotKeycodeChanged(); + TDEAction::slotKeycodeChanged(); } return; } @@ -45,7 +45,7 @@ public: } void setIconSet(const TQIconSet& arg1) { if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - KAction::setIconSet(arg1); + TDEAction::setIconSet(arg1); } return; } @@ -54,13 +54,13 @@ public: } void slotDestroyed() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotDestroyed")) { - KAction::slotDestroyed(); + TDEAction::slotDestroyed(); } return; } void slotActivated() { if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotActivated")) { - KAction::slotActivated(); + TDEAction::slotActivated(); } return; } @@ -144,7 +144,7 @@ Java_org_kde_koala_KWidgetAction_newKWidgetAction(JNIEnv* env, jobject obj, jobj static TQString* _qstring_text = 0; static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWidgetActionJBridge((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(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((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/kdejava/koala/kdejava/KXMLGUIClient.cpp b/kdejava/koala/kdejava/KXMLGUIClient.cpp index 1e1b136f..8310ffd1 100644 --- a/kdejava/koala/kdejava/KXMLGUIClient.cpp +++ b/kdejava/koala/kdejava/KXMLGUIClient.cpp @@ -67,7 +67,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -75,14 +75,14 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); return xret; } diff --git a/kdejava/koala/kdejava/MainWindow.cpp b/kdejava/koala/kdejava/MainWindow.cpp index b3905615..da122d92 100644 --- a/kdejava/koala/kdejava/MainWindow.cpp +++ b/kdejava/koala/kdejava/MainWindow.cpp @@ -66,7 +66,7 @@ public: } void resizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMainWindow::resizeEvent(arg1); + TDEMainWindow::resizeEvent(arg1); } return; } @@ -105,7 +105,7 @@ public: } void show() { if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","show")) { - KMainWindow::show(); + TDEMainWindow::show(); } return; } @@ -129,7 +129,7 @@ public: } void hide() { if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","hide")) { - KMainWindow::hide(); + TDEMainWindow::hide(); } return; } @@ -153,7 +153,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KMainWindow::paintEvent(arg1); + TDEMainWindow::paintEvent(arg1); } return; } @@ -177,13 +177,13 @@ public: } void showAboutApplication() { if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","showAboutApplication")) { - KMainWindow::showAboutApplication(); + TDEMainWindow::showAboutApplication(); } return; } void readGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readGlobalProperties(arg1); + TDEMainWindow::readGlobalProperties(arg1); } return; } @@ -204,7 +204,7 @@ public: } void saveProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveProperties(arg1); + TDEMainWindow::saveProperties(arg1); } return; } @@ -261,13 +261,13 @@ public: } void closeEvent(TQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMainWindow::closeEvent(arg1); + TDEMainWindow::closeEvent(arg1); } return; } void readProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::readProperties(arg1); + TDEMainWindow::readProperties(arg1); } return; } @@ -309,7 +309,7 @@ public: } void childEvent(TQChildEvent* arg1) { if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - KMainWindow::childEvent(arg1); + TDEMainWindow::childEvent(arg1); } return; } @@ -327,7 +327,7 @@ public: } void setIcon(const TQPixmap& arg1) { if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMainWindow::setIcon(arg1); + TDEMainWindow::setIcon(arg1); } return; } @@ -426,7 +426,7 @@ public: } void saveGlobalProperties(TDEConfig* arg1) { if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - KMainWindow::saveGlobalProperties(arg1); + TDEMainWindow::saveGlobalProperties(arg1); } return; } diff --git a/kdejava/koala/kdejava/Makefile.am b/kdejava/koala/kdejava/Makefile.am index 853a1398..93e7b741 100644 --- a/kdejava/koala/kdejava/Makefile.am +++ b/kdejava/koala/kdejava/Makefile.am @@ -8,10 +8,10 @@ jnilocdir = $(libdir)/jni AM_LDFLAGS = -libkdejava_la_SOURCES = StoredTransferJob.cpp BrowserRun.cpp BrowserHostExtension.cpp WindowArgs.cpp URLArgs.cpp PartManager.cpp KNamedCommand.cpp KSSLCertBox.cpp TextEvent.cpp StatusBarExtension.cpp SkipDlg.cpp SessionData.cpp RangeException.cpp Plugin.cpp PasswordDialog.cpp PartBase.cpp Notation.cpp MutationEvent.cpp MultiGetJob.cpp LiveConnectExtension.cpp LinkStyle.cpp KZipFileEntry.cpp KZip.cpp KXMLGUI.cpp KWindowInfo.cpp KWidgetAction.cpp KURLBarItemDialog.cpp KTempDir.cpp KSyntaxHighlighter.cpp KSSLSigners.cpp KSSLPKCS7.cpp KSSLKeyGen.cpp KSSLCertificateFactory.cpp KSSLCertificateCache.cpp KSSLCertDlg.cpp KSpellingHighlighter.cpp KSMIMECrypto.cpp KSimpleFileFilter.cpp KShell.cpp KServiceSeparator.cpp KRegExpEditorInterface.cpp KPluginSelector.cpp KPassivePopup.cpp KPanelAppMenu.cpp KOCRDialog.cpp KMountPoint.cpp KMimeTypeValidator.cpp KMimeTypeResolverHelper.cpp KMimeTypeResolverBase.cpp KMD5.cpp KKeyNative.cpp KIDNA.cpp KFontRequester.cpp KFileShare.cpp KFilePlugin.cpp KDockArea.cpp KDiskFreeSp.cpp KDCOPServiceStarter.cpp KCustomMenuEditor.cpp KCPUInfo.cpp TDEConfigGroup.cpp KCMultiDialog.cpp TDECModuleLoader.cpp TDECModuleInfo.cpp KCalendarSystemFactory.cpp KAr.cpp KActiveLabel.cpp KActionShortcutList.cpp KAccelShortcutList.cpp HTMLFormCollection.cpp HistoryProvider.cpp Factory.cpp EventException.cpp Entity.cpp DOMImplementation.cpp DOMException.cpp CSSValueList.cpp CSSUnknownRule.cpp CSSStyleRule.cpp CSSPageRule.cpp CSSMediaRule.cpp CSSImportRule.cpp CSSFontFaceRule.cpp CSSCharsetRule.cpp KInputDialog.cpp KAsyncIO.cpp Observer.cpp RenameDlg.cpp KDirLister.cpp TDEBufferedIO.cpp AuthInfo.cpp SlaveInterface.cpp SlaveBase.cpp KShellProcess.cpp KMimeMagicResult.cpp KMimeMagic.cpp KFloatValidator.cpp KEdit.cpp DefaultProgress.cpp KURLComboRequester.cpp KToggleToolBarAction.cpp KTimeWidget.cpp KTextEdit.cpp KTabWidget.cpp KTabBar.cpp KStringListValidator.cpp KPasteTextAction.cpp KMdiToolViewAccessor.cpp KMdiWin32IconButton.cpp KMdiViewCloseEvent.cpp KMdiTaskBar.cpp KMdiTaskBarButton.cpp KMdiMainFrm.cpp KMdi.cpp KMdiChildView.cpp KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmMoveEvent.cpp KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrm.cpp KMdiChildFrmCaption.cpp KMdiChildArea.cpp KKeyButton.cpp KDoubleValidator.cpp KCatalogue.cpp UIEvent.cpp PreviewJob.cpp Node.cpp MetaInfoJob.cpp KURLBarListBox.cpp KURLBarItem.cpp KURLBar.cpp KToggleFullScreenAction.cpp KSSLX509V3.cpp KSSLSession.cpp KSSLCertChain.cpp KShortcutList.cpp TDESharedConfig.cpp KMimeSourceFactory.cpp KFileMetaInfoGroup.cpp KCalendarSystem.cpp EventListener.cpp DomShared.cpp Document.cpp DavJob.cpp CustomNodeFilter.cpp CSSRuleList.cpp CSSRule.cpp AbstractView.cpp KReplaceDialog.cpp KReplace.cpp KProgressDialog.cpp KPrintAction.cpp KMultiTabBarTab.cpp KMultiTabBar.cpp KMultiTabBarButton.cpp KFindDialog.cpp KFind.cpp KDateTimeWidget.cpp KArrowButton.cpp KRecentFilesAction.cpp KListAction.cpp KSSLCertDlgRet.cpp KDE.cpp KValueSelector.cpp KPaletteTable.cpp KHSSelector.cpp KColorPatch.cpp KColorDialog.cpp KColorCells.cpp KColor.cpp KURLPixmapProvider.cpp KDockWidget.cpp KDockTabGroup.cpp KDockManager.cpp KDockMainWindow.cpp KKeySequence.cpp ProgressBase.cpp StatusbarProgress.cpp Scheduler.cpp KIO.cpp KKey.cpp KShortcut.cpp KWordWrap.cpp KMultipleDrag.cpp KFileTreeViewToolTip.cpp KFileTreeViewItem.cpp KFileTreeView.cpp KFileTreeBranch.cpp KFileFilterCombo.cpp KEMailSettings.cpp KDirSelectDialog.cpp KDateWidget.cpp KDataToolInfo.cpp KDataToolAction.cpp KDataTool.cpp KStdGuiItem.cpp KIconViewItem.cpp KGuiItem.cpp KFileMetaInfoItem.cpp KFileMetaInfo.cpp KDialogBase.cpp KArchiveFile.cpp KArchiveEntry.cpp KSSLPKCS12.cpp KArchiveDirectory.cpp KTar.cpp KArchive.cpp KListViewItem.cpp KTipDialog.cpp KTipDatabase.cpp KDEJavaSlot.cpp KToolBarPopupAction.cpp KSqueezedTextLabel.cpp KScanDialog.cpp KPushButton.cpp KPreviewWidgetBase.cpp KPixmapSplitter.cpp KPanelExtension.cpp KMacroCommand.cpp KFontCombo.cpp KFilterDev.cpp KFilterBase.cpp KEditListBox.cpp KDialogQueue.cpp KCompletionBox.cpp KCommandHistory.cpp KCommand.cpp KCodecs.cpp KAboutTranslator.cpp KAboutContributor.cpp Slave.cpp Connection.cpp TransferJob.cpp StatJob.cpp SimpleJob.cpp MimetypeJob.cpp ListJob.cpp KDirSize.cpp KDirNotify.cpp Job.cpp FileCopyJob.cpp DeleteJob.cpp CopyJob.cpp CharacterData.cpp TreeWalker.cpp Text.cpp Range.cpp ProcessingInstruction.cpp NodeIterator.cpp NodeFilter.cpp EntityReference.cpp Comment.cpp CDATASection.cpp MainWindow.cpp DockMainWindow.cpp Attr.cpp HTMLUListElement.cpp HTMLTitleElement.cpp HTMLTextAreaElement.cpp HTMLTableSectionElement.cpp HTMLTableRowElement.cpp HTMLTableElement.cpp HTMLTableColElement.cpp HTMLTableCellElement.cpp HTMLTableCaptionElement.cpp HTMLStyleElement.cpp HTMLSelectElement.cpp HTMLScriptElement.cpp HTMLQuoteElement.cpp HTMLPreElement.cpp HTMLParamElement.cpp HTMLParagraphElement.cpp HTMLOptionElement.cpp HTMLOptGroupElement.cpp HTMLObjectElement.cpp HTMLOListElement.cpp HTMLModElement.cpp HTMLMetaElement.cpp HTMLMenuElement.cpp HTMLMapElement.cpp HTMLLinkElement.cpp HTMLLegendElement.cpp HTMLLabelElement.cpp HTMLLIElement.cpp HTMLIsIndexElement.cpp HTMLInputElement.cpp HTMLImageElement.cpp HTMLIFrameElement.cpp HTMLHtmlElement.cpp HTMLHeadingElement.cpp HTMLHeadElement.cpp HTMLHRElement.cpp HTMLFrameSetElement.cpp HTMLFrameElement.cpp HTMLFormElement.cpp HTMLFontElement.cpp HTMLFieldSetElement.cpp HTMLElement.cpp HTMLDivElement.cpp HTMLDirectoryElement.cpp HTMLDListElement.cpp HTMLCollection.cpp HTMLButtonElement.cpp HTMLBodyElement.cpp HTMLBlockquoteElement.cpp HTMLBaseFontElement.cpp HTMLBaseElement.cpp HTMLBRElement.cpp HTMLAreaElement.cpp HTMLAppletElement.cpp HTMLAnchorElement.cpp Element.cpp Rect.cpp RGBColor.cpp Counter.cpp CSSValue.cpp CSSStyleDeclaration.cpp CSSPrimitiveValue.cpp CSSException.cpp StyleSheet.cpp CSSStyleSheet.cpp NamedNodeMap.cpp HTMLDocument.cpp DocumentType.cpp DocumentStyle.cpp DocumentFragment.cpp ReadWritePart.cpp PartSelectEvent.cpp PartActivateEvent.cpp OpenURLEvent.cpp MouseEvent.cpp GUIActivateEvent.cpp Event.cpp KDESupport.cpp NetAccess.cpp ReadOnlyPart.cpp Part.cpp KXYSelector.cpp KXMLGUIFactory.cpp KXMLGUIClient.cpp KXMLGUIBuilder.cpp KWritePermsIcon.cpp KWizard.cpp KUniqueApplication.cpp KURLRequesterDlg.cpp KURLRequester.cpp KURLLabel.cpp KURLDrag.cpp KURLCompletion.cpp KURLComboBox.cpp KURL.cpp KURIFilterPlugin.cpp KURIFilterData.cpp KURIFilter.cpp TDETrader.cpp KToolBarSeparator.cpp KToolBarRadioGroup.cpp KToolBarButton.cpp KToolBar.cpp KToggleAction.cpp KTextBrowser.cpp KTempFile.cpp KTabCtl.cpp KSystemTray.cpp KSycocaEntry.cpp KSycoca.cpp KStringHandler.cpp KStdAction.cpp KStdAccel.cpp KStatusBarLabel.cpp KStatusBar.cpp KStaticDeleterBase.cpp TDEStandardDirs.cpp KSpellDlg.cpp KSpellConfig.cpp KSpell.cpp KSimpleConfig.cpp KShred.cpp KShellCompletion.cpp TDEShared.cpp KSessionManaged.cpp KServiceTypeProfile.cpp KServiceType.cpp KServiceOffer.cpp KServiceGroup.cpp KService.cpp KSeparator.cpp KSelector.cpp KSelectAction.cpp KSaveFile.cpp KSSLX509Map.cpp KSSLSettings.cpp KSSLPeerInfo.cpp KSSLInfoDlg.cpp KSSLConnectionInfo.cpp KSSLCertificateHome.cpp KSSLCertificate.cpp KSSL.cpp KRun.cpp KRuler.cpp KRootProp.cpp KRootPixmap.cpp KRootPermsIcon.cpp KRestrictedLine.cpp KRecentDocument.cpp KRandomSequence.cpp KRadioAction.cpp KRFCDate.cpp KProtocolManager.cpp KProtocolInfo.cpp KProgress.cpp TDEProcessRunner.cpp TDEProcessController.cpp TDEProcess.cpp KProcIO.cpp KPopupTitle.cpp KPopupMenu.cpp KPopupFrame.cpp KPixmapProvider.cpp KPixmapIO.cpp KPixmapEffect.cpp KPixmap.cpp KPasswordEdit.cpp KPasswordDialog.cpp KPanelMenu.cpp KPanelApplet.cpp KPalette.cpp KOpenWithDlg.cpp KNumInput.cpp KNotifyClient.cpp KMimeType.cpp KMessageBox.cpp KMenuBar.cpp KMainWindow.cpp TDELocale.cpp KListView.cpp KListBox.cpp KLineEdit.cpp KLibLoader.cpp KLibFactory.cpp KLed.cpp KKeyDialog.cpp KKeyChooser.cpp KJanusWidget.cpp KIntValidator.cpp KIntSpinBox.cpp KIntNumInput.cpp TDEInstance.cpp KImageIO.cpp KImageEffect.cpp KIconView.cpp KIconLoader.cpp KIconEffect.cpp KIconDialog.cpp KIconCanvas.cpp KIconButton.cpp KIPC.cpp KHistoryCombo.cpp KHelpMenu.cpp TDEHTMLView.cpp TDEHTMLSettings.cpp TDEHTMLPart.cpp KGradientSelector.cpp TDEGlobal.cpp TDEGlobalSettings.cpp TDEGlobalAccel.cpp KFontSizeAction.cpp KFontDialog.cpp KFontChooser.cpp KFontAction.cpp KFolderType.cpp KFileViewSignaler.cpp KFileView.cpp KFilePreview.cpp KFileListViewItem.cpp KFileItem.cpp KFileIconViewItem.cpp KFileIconView.cpp KFileFilter.cpp KFileDialog.cpp KFileDetailView.cpp KFile.cpp KExecMimeType.cpp KEntryKey.cpp KEntry.cpp KEditToolbarWidget.cpp KEditToolbar.cpp KEdReplace.cpp KEdGotoLine.cpp KEdFind.cpp KDualColorButton.cpp KDoubleNumInput.cpp KDockWidgetHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetAbstractHeader.cpp KDirWatch.cpp KDirOperator.cpp KDialog.cpp KDesktopFile.cpp KDateValidator.cpp KDateTable.cpp KDatePicker.cpp KDEDesktopMimeType.cpp KDCOPPropertyProxy.cpp KDCOPActionProxy.cpp KCursor.cpp KContextMenuManager.cpp TDEConfigINIBackEnd.cpp TDEConfigGroupSaver.cpp TDEConfigBase.cpp TDEConfigBackEnd.cpp TDEConfig.cpp KCompletionBase.cpp KCompletion.cpp KComboBox.cpp KCombiView.cpp KColorDrag.cpp KColorCombo.cpp KColorButton.cpp TDECmdLineArgs.cpp KCharsets.cpp KCharSelectTable.cpp KCharSelect.cpp TDECModule.cpp KButtonBox.cpp KBugReport.cpp KAuthIcon.cpp KAudioPlayer.cpp TDEApplication.cpp KAnimWidget.cpp KActionSeparator.cpp KActionMenu.cpp KActionCollection.cpp KAction.cpp KAccel.cpp KAboutWidget.cpp KAboutPerson.cpp KAboutKDE.cpp KAboutDialog.cpp TDEAboutData.cpp KAboutContainer.cpp KAboutApplication.cpp DCOPObjectProxy.cpp DCOPObject.cpp DCOPClient.cpp BrowserExtension.cpp +libkdejava_la_SOURCES = StoredTransferJob.cpp BrowserRun.cpp BrowserHostExtension.cpp WindowArgs.cpp URLArgs.cpp PartManager.cpp KNamedCommand.cpp KSSLCertBox.cpp TextEvent.cpp StatusBarExtension.cpp SkipDlg.cpp SessionData.cpp RangeException.cpp Plugin.cpp PasswordDialog.cpp PartBase.cpp Notation.cpp MutationEvent.cpp MultiGetJob.cpp LiveConnectExtension.cpp LinkStyle.cpp KZipFileEntry.cpp KZip.cpp KXMLGUI.cpp KWindowInfo.cpp KWidgetAction.cpp KURLBarItemDialog.cpp KTempDir.cpp KSyntaxHighlighter.cpp KSSLSigners.cpp KSSLPKCS7.cpp KSSLKeyGen.cpp KSSLCertificateFactory.cpp KSSLCertificateCache.cpp KSSLCertDlg.cpp KSpellingHighlighter.cpp KSMIMECrypto.cpp KSimpleFileFilter.cpp KShell.cpp KServiceSeparator.cpp KRegExpEditorInterface.cpp KPluginSelector.cpp KPassivePopup.cpp KPanelAppMenu.cpp KOCRDialog.cpp KMountPoint.cpp KMimeTypeValidator.cpp KMimeTypeResolverHelper.cpp KMimeTypeResolverBase.cpp KMD5.cpp KKeyNative.cpp KIDNA.cpp TDEFontRequester.cpp KFileShare.cpp KFilePlugin.cpp KDockArea.cpp KDiskFreeSp.cpp KDCOPServiceStarter.cpp KCustomMenuEditor.cpp KCPUInfo.cpp TDEConfigGroup.cpp KCMultiDialog.cpp TDECModuleLoader.cpp TDECModuleInfo.cpp KCalendarSystemFactory.cpp KAr.cpp KActiveLabel.cpp TDEActionShortcutList.cpp TDEAccelShortcutList.cpp HTMLFormCollection.cpp HistoryProvider.cpp Factory.cpp EventException.cpp Entity.cpp DOMImplementation.cpp DOMException.cpp CSSValueList.cpp CSSUnknownRule.cpp CSSStyleRule.cpp CSSPageRule.cpp CSSMediaRule.cpp CSSImportRule.cpp CSSFontFaceRule.cpp CSSCharsetRule.cpp KInputDialog.cpp KAsyncIO.cpp Observer.cpp RenameDlg.cpp KDirLister.cpp TDEBufferedIO.cpp AuthInfo.cpp SlaveInterface.cpp SlaveBase.cpp KShellProcess.cpp KMimeMagicResult.cpp KMimeMagic.cpp KFloatValidator.cpp KEdit.cpp DefaultProgress.cpp KURLComboRequester.cpp TDEToggleToolBarAction.cpp KTimeWidget.cpp KTextEdit.cpp KTabWidget.cpp KTabBar.cpp KStringListValidator.cpp TDEPasteTextAction.cpp KMdiToolViewAccessor.cpp KMdiWin32IconButton.cpp KMdiViewCloseEvent.cpp KMdiTaskBar.cpp KMdiTaskBarButton.cpp KMdiMainFrm.cpp KMdi.cpp KMdiChildView.cpp KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmMoveEvent.cpp KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrm.cpp KMdiChildFrmCaption.cpp KMdiChildArea.cpp KKeyButton.cpp KDoubleValidator.cpp KCatalogue.cpp UIEvent.cpp PreviewJob.cpp Node.cpp MetaInfoJob.cpp KURLBarListBox.cpp KURLBarItem.cpp KURLBar.cpp TDEToggleFullScreenAction.cpp KSSLX509V3.cpp KSSLSession.cpp KSSLCertChain.cpp TDEShortcutList.cpp TDESharedConfig.cpp KMimeSourceFactory.cpp KFileMetaInfoGroup.cpp KCalendarSystem.cpp EventListener.cpp DomShared.cpp Document.cpp DavJob.cpp CustomNodeFilter.cpp CSSRuleList.cpp CSSRule.cpp AbstractView.cpp KReplaceDialog.cpp KReplace.cpp KProgressDialog.cpp KPrintAction.cpp KMultiTabBarTab.cpp KMultiTabBar.cpp KMultiTabBarButton.cpp KFindDialog.cpp KFind.cpp KDateTimeWidget.cpp KArrowButton.cpp TDERecentFilesAction.cpp TDEListAction.cpp KSSLCertDlgRet.cpp KDE.cpp KValueSelector.cpp KPaletteTable.cpp KHSSelector.cpp KColorPatch.cpp KColorDialog.cpp KColorCells.cpp KColor.cpp KURLPixmapProvider.cpp KDockWidget.cpp KDockTabGroup.cpp KDockManager.cpp KDockMainWindow.cpp KKeySequence.cpp ProgressBase.cpp StatusbarProgress.cpp Scheduler.cpp KIO.cpp KKey.cpp TDEShortcut.cpp KWordWrap.cpp KMultipleDrag.cpp KFileTreeViewToolTip.cpp KFileTreeViewItem.cpp KFileTreeView.cpp KFileTreeBranch.cpp KFileFilterCombo.cpp KEMailSettings.cpp KDirSelectDialog.cpp KDateWidget.cpp KDataToolInfo.cpp KDataToolAction.cpp KDataTool.cpp KStdGuiItem.cpp KIconViewItem.cpp KGuiItem.cpp KFileMetaInfoItem.cpp KFileMetaInfo.cpp KDialogBase.cpp KArchiveFile.cpp KArchiveEntry.cpp KSSLPKCS12.cpp KArchiveDirectory.cpp KTar.cpp KArchive.cpp TDEListViewItem.cpp KTipDialog.cpp KTipDatabase.cpp KDEJavaSlot.cpp TDEToolBarPopupAction.cpp KSqueezedTextLabel.cpp KScanDialog.cpp KPushButton.cpp KPreviewWidgetBase.cpp KPixmapSplitter.cpp KPanelExtension.cpp KMacroCommand.cpp TDEFontCombo.cpp KFilterDev.cpp KFilterBase.cpp KEditListBox.cpp KDialogQueue.cpp KCompletionBox.cpp KCommandHistory.cpp KCommand.cpp KCodecs.cpp KAboutTranslator.cpp KAboutContributor.cpp Slave.cpp Connection.cpp TransferJob.cpp StatJob.cpp SimpleJob.cpp MimetypeJob.cpp ListJob.cpp KDirSize.cpp KDirNotify.cpp Job.cpp FileCopyJob.cpp DeleteJob.cpp CopyJob.cpp CharacterData.cpp TreeWalker.cpp Text.cpp Range.cpp ProcessingInstruction.cpp NodeIterator.cpp NodeFilter.cpp EntityReference.cpp Comment.cpp CDATASection.cpp MainWindow.cpp DockMainWindow.cpp Attr.cpp HTMLUListElement.cpp HTMLTitleElement.cpp HTMLTextAreaElement.cpp HTMLTableSectionElement.cpp HTMLTableRowElement.cpp HTMLTableElement.cpp HTMLTableColElement.cpp HTMLTableCellElement.cpp HTMLTableCaptionElement.cpp HTMLStyleElement.cpp HTMLSelectElement.cpp HTMLScriptElement.cpp HTMLQuoteElement.cpp HTMLPreElement.cpp HTMLParamElement.cpp HTMLParagraphElement.cpp HTMLOptionElement.cpp HTMLOptGroupElement.cpp HTMLObjectElement.cpp HTMLOListElement.cpp HTMLModElement.cpp HTMLMetaElement.cpp HTMLMenuElement.cpp HTMLMapElement.cpp HTMLLinkElement.cpp HTMLLegendElement.cpp HTMLLabelElement.cpp HTMLLIElement.cpp HTMLIsIndexElement.cpp HTMLInputElement.cpp HTMLImageElement.cpp HTMLIFrameElement.cpp HTMLHtmlElement.cpp HTMLHeadingElement.cpp HTMLHeadElement.cpp HTMLHRElement.cpp HTMLFrameSetElement.cpp HTMLFrameElement.cpp HTMLFormElement.cpp HTMLFontElement.cpp HTMLFieldSetElement.cpp HTMLElement.cpp HTMLDivElement.cpp HTMLDirectoryElement.cpp HTMLDListElement.cpp HTMLCollection.cpp HTMLButtonElement.cpp HTMLBodyElement.cpp HTMLBlockquoteElement.cpp HTMLBaseFontElement.cpp HTMLBaseElement.cpp HTMLBRElement.cpp HTMLAreaElement.cpp HTMLAppletElement.cpp HTMLAnchorElement.cpp Element.cpp Rect.cpp RGBColor.cpp Counter.cpp CSSValue.cpp CSSStyleDeclaration.cpp CSSPrimitiveValue.cpp CSSException.cpp StyleSheet.cpp CSSStyleSheet.cpp NamedNodeMap.cpp HTMLDocument.cpp DocumentType.cpp DocumentStyle.cpp DocumentFragment.cpp ReadWritePart.cpp PartSelectEvent.cpp PartActivateEvent.cpp OpenURLEvent.cpp MouseEvent.cpp GUIActivateEvent.cpp Event.cpp KDESupport.cpp NetAccess.cpp ReadOnlyPart.cpp Part.cpp KXYSelector.cpp KXMLGUIFactory.cpp KXMLGUIClient.cpp KXMLGUIBuilder.cpp KWritePermsIcon.cpp KWizard.cpp KUniqueApplication.cpp KURLRequesterDlg.cpp KURLRequester.cpp KURLLabel.cpp KURLDrag.cpp KURLCompletion.cpp KURLComboBox.cpp KURL.cpp KURIFilterPlugin.cpp KURIFilterData.cpp KURIFilter.cpp TDETrader.cpp TDEToolBarSeparator.cpp TDEToolBarRadioGroup.cpp TDEToolBarButton.cpp TDEToolBar.cpp TDEToggleAction.cpp KTextBrowser.cpp KTempFile.cpp KTabCtl.cpp KSystemTray.cpp KSycocaEntry.cpp KSycoca.cpp KStringHandler.cpp KStdAction.cpp TDEStdAccel.cpp KStatusBarLabel.cpp KStatusBar.cpp KStaticDeleterBase.cpp TDEStandardDirs.cpp KSpellDlg.cpp KSpellConfig.cpp KSpell.cpp KSimpleConfig.cpp KShred.cpp KShellCompletion.cpp TDEShared.cpp KSessionManaged.cpp KServiceTypeProfile.cpp KServiceType.cpp KServiceOffer.cpp KServiceGroup.cpp KService.cpp KSeparator.cpp TDESelector.cpp TDESelectAction.cpp KSaveFile.cpp KSSLX509Map.cpp KSSLSettings.cpp KSSLPeerInfo.cpp KSSLInfoDlg.cpp KSSLConnectionInfo.cpp KSSLCertificateHome.cpp KSSLCertificate.cpp KSSL.cpp KRun.cpp KRuler.cpp KRootProp.cpp KRootPixmap.cpp KRootPermsIcon.cpp KRestrictedLine.cpp TDERecentDocument.cpp KRandomSequence.cpp TDERadioAction.cpp KRFCDate.cpp KProtocolManager.cpp KProtocolInfo.cpp KProgress.cpp TDEProcessRunner.cpp TDEProcessController.cpp TDEProcess.cpp KProcIO.cpp TDEPopupTitle.cpp TDEPopupMenu.cpp TDEPopupFrame.cpp KPixmapProvider.cpp KPixmapIO.cpp KPixmapEffect.cpp KPixmap.cpp KPasswordEdit.cpp KPasswordDialog.cpp KPanelMenu.cpp KPanelApplet.cpp KPalette.cpp KOpenWithDlg.cpp KNumInput.cpp KNotifyClient.cpp KMimeType.cpp KMessageBox.cpp KMenuBar.cpp TDEMainWindow.cpp TDELocale.cpp TDEListView.cpp TDEListBox.cpp KLineEdit.cpp KLibLoader.cpp KLibFactory.cpp KLed.cpp KKeyDialog.cpp KKeyChooser.cpp KJanusWidget.cpp KIntValidator.cpp KIntSpinBox.cpp KIntNumInput.cpp TDEInstance.cpp KImageIO.cpp KImageEffect.cpp KIconView.cpp KIconLoader.cpp KIconEffect.cpp KIconDialog.cpp KIconCanvas.cpp KIconButton.cpp KIPC.cpp KHistoryCombo.cpp KHelpMenu.cpp TDEHTMLView.cpp TDEHTMLSettings.cpp TDEHTMLPart.cpp KGradientSelector.cpp TDEGlobal.cpp TDEGlobalSettings.cpp TDEGlobalAccel.cpp TDEFontSizeAction.cpp TDEFontDialog.cpp TDEFontChooser.cpp TDEFontAction.cpp KFolderType.cpp KFileViewSignaler.cpp KFileView.cpp KFilePreview.cpp KFileListViewItem.cpp KFileItem.cpp KFileIconViewItem.cpp KFileIconView.cpp KFileFilter.cpp KFileDialog.cpp KFileDetailView.cpp KFile.cpp KExecMimeType.cpp KEntryKey.cpp KEntry.cpp KEditToolbarWidget.cpp KEditToolbar.cpp KEdReplace.cpp KEdGotoLine.cpp KEdFind.cpp KDualColorButton.cpp KDoubleNumInput.cpp KDockWidgetHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetAbstractHeader.cpp KDirWatch.cpp KDirOperator.cpp KDialog.cpp KDesktopFile.cpp KDateValidator.cpp KDateTable.cpp KDatePicker.cpp KDEDesktopMimeType.cpp KDCOPPropertyProxy.cpp KDCOPActionProxy.cpp KCursor.cpp KContextMenuManager.cpp TDEConfigINIBackEnd.cpp TDEConfigGroupSaver.cpp TDEConfigBase.cpp TDEConfigBackEnd.cpp TDEConfig.cpp KCompletionBase.cpp KCompletion.cpp KComboBox.cpp KCombiView.cpp KColorDrag.cpp KColorCombo.cpp KColorButton.cpp TDECmdLineArgs.cpp KCharsets.cpp KCharSelectTable.cpp KCharSelect.cpp TDECModule.cpp KButtonBox.cpp KBugReport.cpp KAuthIcon.cpp KAudioPlayer.cpp TDEApplication.cpp KAnimWidget.cpp TDEActionSeparator.cpp TDEActionMenu.cpp TDEActionCollection.cpp TDEAction.cpp TDEAccel.cpp KAboutWidget.cpp KAboutPerson.cpp KAboutKDE.cpp KAboutDialog.cpp TDEAboutData.cpp KAboutContainer.cpp KAboutApplication.cpp DCOPObjectProxy.cpp DCOPObject.cpp DCOPClient.cpp BrowserExtension.cpp -EXTRA_DIST = BrowserExtension.h DCOPClient.h DCOPObject.h DCOPObjectInterface.h DCOPObjectProxy.h KAboutApplication.h KAboutContainer.h TDEAboutData.h KAboutDialog.h KAboutKDE.h KAboutPerson.h KAboutWidget.h KAccel.h KAction.h KActionCollection.h KActionMenu.h KActionSeparator.h KAnimWidget.h TDEApplication.h KAudioPlayer.h KAuthIcon.h KBugReport.h KButtonBox.h TDECModule.h KCharSelect.h KCharSelectTable.h KCharsets.h TDECmdLineArgs.h KColorButton.h KColorCombo.h KColorDrag.h KCombiView.h KComboBox.h KCompletion.h KCompletionBase.h KCompletionBaseInterface.h TDEConfig.h TDEConfigBackEnd.h TDEConfigBase.h TDEConfigGroupSaver.h TDEConfigINIBackEnd.h KContextMenuManager.h KCursor.h KDCOPActionProxy.h KDCOPPropertyProxy.h KDEDesktopMimeType.h KDateInternalMonthPicker.h KDateInternalYearSelector.h KDatePicker.h KDateTable.h KDateValidator.h KDesktopFile.h KDialog.h KDialogBase.h KDirOperator.h KDirWatch.h KDockWidgetAbstractHeader.h KDockWidgetAbstractHeaderDrag.h KDockWidgetHeader.h KDockWidgetHeaderDrag.h KDoubleNumInput.h KDualColorButton.h KEdFind.h KEdGotoLine.h KEdReplace.h KEditToolbar.h KEditToolbarWidget.h KEntry.h KEntryKey.h KExecMimeType.h KFile.h KFileDetailView.h KFileDialog.h KFileFilter.h KFileIconView.h KFileIconViewItem.h KFileItem.h KFileListViewItem.h KFilePreview.h KFileView.h KFileViewInterface.h KFileViewSignaler.h KFolderType.h KFontAction.h KFontChooser.h KFontDialog.h KFontSizeAction.h TDEGlobal.h TDEGlobalAccel.h TDEGlobalSettings.h KGradientSelector.h TDEHTMLPart.h TDEHTMLSettings.h TDEHTMLView.h KHelpMenu.h KHistoryCombo.h KIPC.h KIconButton.h KIconCanvas.h KIconDialog.h KIconEffect.h KIconLoader.h KIconView.h KImageEffect.h KImageIO.h TDEInstance.h TDEInstanceInterface.h KIntNumInput.h KIntSpinBox.h KIntValidator.h KJanusWidget.h KKeyChooser.h KKeyDialog.h KLed.h KLibFactory.h KLibLoader.h KLineEdit.h KListBox.h KListView.h TDELocale.h KMainWindow.h KMenuBar.h KMessageBox.h KMimeType.h KNotifyClient.h KNumInput.h KOpenWithDlg.h KPalette.h KPanelApplet.h KPanelMenu.h KPasswordDialog.h KPasswordEdit.h KPixmap.h KPixmapEffect.h KPixmapIO.h KPixmapProvider.h KPopupFrame.h KPopupMenu.h KPopupTitle.h KProcIO.h TDEProcess.h TDEProcessController.h TDEProcessRunner.h KProgress.h KProtocolInfo.h KProtocolManager.h KRFCDate.h KRadioAction.h KRandomSequence.h KRecentDocument.h KRestrictedLine.h KRootPermsIcon.h KRootPixmap.h KRootProp.h KRuler.h KRun.h KSSL.h KSSLCertificate.h KSSLCertificateHome.h KSSLConnectionInfo.h KSSLInfoDlg.h KSSLPeerInfo.h KSSLSettings.h KSSLX509Map.h KSaveFile.h KSelectAction.h KSelector.h KSeparator.h KService.h KServiceGroup.h KServiceOffer.h KServiceType.h KServiceTypeProfile.h KSessionManaged.h TDEShared.h KShellCompletion.h KShred.h KSimpleConfig.h KSpell.h KSpellConfig.h KSpellDlg.h TDEStandardDirs.h KStaticDeleterBase.h KStatusBar.h KStatusBarLabel.h KStdAccel.h KStdAction.h KStringHandler.h KSycoca.h KSycocaEntry.h KSystemTray.h KTabCtl.h KTempFile.h KTextBrowser.h KToggleAction.h KToolBar.h KToolBarButton.h KToolBarRadioGroup.h KToolBarSeparator.h TDETrader.h KURIFilter.h KURIFilterData.h KURIFilterPlugin.h KURL.h KURLComboBox.h KURLCompletion.h KURLDrag.h KURLLabel.h KURLRequester.h KURLRequesterDlg.h KUniqueApplication.h KWizard.h KWritePermsIcon.h KXMLGUIBuilder.h KXMLGUIBuilderInterface.h KXMLGUIClient.h KXMLGUIClientInterface.h KXMLGUIFactory.h KXYSelector.h Part.h PartBaseInterface.h ReadOnlyPart.h BrowserExtension.cpp DCOPClient.cpp DCOPObject.cpp DCOPObjectProxy.cpp KAboutApplication.cpp KAboutContainer.cpp TDEAboutData.cpp KAboutDialog.cpp KAboutKDE.cpp KAboutPerson.cpp KAboutWidget.cpp KAccel.cpp KAction.cpp KActionCollection.cpp KActionMenu.cpp KActionSeparator.cpp KAnimWidget.cpp TDEApplication.cpp KAudioPlayer.cpp KAuthIcon.cpp KBugReport.cpp KButtonBox.cpp TDECModule.cpp KCharSelect.cpp KCharSelectTable.cpp KCharsets.cpp TDECmdLineArgs.cpp KColorButton.cpp KColorCombo.cpp KColorDrag.cpp KCombiView.cpp KComboBox.cpp KCompletion.cpp KCompletionBase.cpp TDEConfig.cpp TDEConfigBackEnd.cpp TDEConfigBase.cpp TDEConfigGroupSaver.cpp TDEConfigINIBackEnd.cpp KContextMenuManager.cpp KCursor.cpp KDCOPActionProxy.cpp KDCOPPropertyProxy.cpp KDEDesktopMimeType.cpp KDatePicker.cpp KDateTable.cpp KDateValidator.cpp KDesktopFile.cpp KDialog.cpp KDirOperator.cpp KDirWatch.cpp KDockWidgetAbstractHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetHeaderDrag.cpp KDoubleNumInput.cpp KDualColorButton.cpp KEdFind.cpp KEdGotoLine.cpp KEdReplace.cpp KEditToolbar.cpp KEditToolbarWidget.cpp KEntry.cpp KEntryKey.cpp KExecMimeType.cpp KFile.cpp KFileDetailView.cpp KFileDialog.cpp KFileFilter.cpp KFileIconView.cpp KFileIconViewItem.cpp KFileItem.cpp KFileListViewItem.cpp KFilePreview.cpp KFileView.cpp KFileViewSignaler.cpp KFolderType.cpp KFontAction.cpp KFontChooser.cpp KFontDialog.cpp KFontSizeAction.cpp TDEGlobal.cpp TDEGlobalAccel.cpp TDEGlobalSettings.cpp KGradientSelector.cpp TDEHTMLPart.cpp TDEHTMLSettings.cpp TDEHTMLView.cpp KHelpMenu.cpp KHistoryCombo.cpp KIPC.cpp KIconButton.cpp KIconCanvas.cpp KIconDialog.cpp KIconEffect.cpp KIconLoader.cpp KIconView.cpp KImageEffect.cpp KImageIO.cpp TDEInstance.cpp KIntNumInput.cpp KIntSpinBox.cpp KIntValidator.cpp KJanusWidget.cpp KKeyChooser.cpp KKeyDialog.cpp KLed.cpp KLibFactory.cpp KLibLoader.cpp KLineEdit.cpp KListBox.cpp KListView.cpp TDELocale.cpp KMainWindow.cpp KMenuBar.cpp KMessageBox.cpp KMimeType.cpp KNotifyClient.cpp KNumInput.cpp KOpenWithDlg.cpp KPalette.cpp KPanelApplet.cpp KPanelMenu.cpp KPasswordDialog.cpp KPasswordEdit.cpp KPixmap.cpp KPixmapEffect.cpp KPixmapIO.cpp KPixmapProvider.cpp KPopupFrame.cpp KPopupMenu.cpp KPopupTitle.cpp KProcIO.cpp TDEProcess.cpp TDEProcessController.cpp TDEProcessRunner.cpp KProgress.cpp KProtocolInfo.cpp KProtocolManager.cpp KRFCDate.cpp KRadioAction.cpp KRandomSequence.cpp KRecentDocument.cpp KRestrictedLine.cpp KRootPermsIcon.cpp KRootPixmap.cpp KRootProp.cpp KRuler.cpp KRun.cpp KSSL.cpp KSSLCertificate.cpp KSSLCertificateHome.cpp KSSLConnectionInfo.cpp KSSLInfoDlg.cpp KSSLPeerInfo.cpp KSSLSettings.cpp KSSLX509Map.cpp KSaveFile.cpp KSelectAction.cpp KSelector.cpp KSeparator.cpp KService.cpp KServiceGroup.cpp KServiceOffer.cpp KServiceType.cpp KServiceTypeProfile.cpp KSessionManaged.cpp TDEShared.cpp KShellCompletion.cpp KShred.cpp KSimpleConfig.cpp KSpell.cpp KSpellConfig.cpp KSpellDlg.cpp TDEStandardDirs.cpp KStaticDeleterBase.cpp KStatusBar.cpp KStatusBarLabel.cpp KStdAccel.cpp KStdAction.cpp KStringHandler.cpp KSycoca.cpp KSycocaEntry.cpp KSystemTray.cpp KTabCtl.cpp KTempFile.cpp KTextBrowser.cpp KToggleAction.cpp KToolBar.cpp KToolBarButton.cpp KToolBarRadioGroup.cpp KToolBarSeparator.cpp TDETrader.cpp KURIFilter.cpp KURIFilterData.cpp KURIFilterPlugin.cpp KURL.cpp KURLComboBox.cpp KURLCompletion.cpp KURLDrag.cpp KURLLabel.cpp KURLRequester.cpp KURLRequesterDlg.cpp KUniqueApplication.cpp KWizard.cpp KWritePermsIcon.cpp KXMLGUIBuilder.cpp KXMLGUIClient.cpp KXMLGUIFactory.cpp KXYSelector.cpp Part.cpp ReadOnlyPart.cpp NetAccess.cpp NetAccess.h KDESupport.cpp Event.cpp GUIActivateEvent.cpp MouseEvent.cpp OpenURLEvent.cpp PartActivateEvent.cpp PartSelectEvent.cpp ReadWritePart.cpp DocumentFragment.cpp DocumentStyle.cpp DocumentType.cpp HTMLDocument.cpp NamedNodeMap.cpp CSSStyleSheet.cpp StyleSheet.cpp CSSException.cpp CSSPrimitiveValue.cpp CSSStyleDeclaration.cpp CSSValue.cpp Counter.cpp RGBColor.cpp Rect.cpp Element.cpp HTMLAnchorElement.cpp HTMLAppletElement.cpp HTMLAreaElement.cpp HTMLBRElement.cpp HTMLBaseElement.cpp HTMLBaseFontElement.cpp HTMLBlockquoteElement.cpp HTMLBodyElement.cpp HTMLButtonElement.cpp HTMLCollection.cpp HTMLDListElement.cpp HTMLDirectoryElement.cpp HTMLDivElement.cpp HTMLElement.cpp HTMLFieldSetElement.cpp HTMLFontElement.cpp HTMLFormElement.cpp HTMLFrameElement.cpp HTMLFrameSetElement.cpp HTMLHRElement.cpp HTMLHeadElement.cpp HTMLHeadingElement.cpp HTMLHtmlElement.cpp HTMLIFrameElement.cpp HTMLImageElement.cpp HTMLInputElement.cpp HTMLIsIndexElement.cpp HTMLLIElement.cpp HTMLLabelElement.cpp HTMLLegendElement.cpp HTMLLinkElement.cpp HTMLMapElement.cpp HTMLMenuElement.cpp HTMLMetaElement.cpp HTMLModElement.cpp HTMLOListElement.cpp HTMLObjectElement.cpp HTMLOptGroupElement.cpp HTMLOptionElement.cpp HTMLParagraphElement.cpp HTMLParamElement.cpp HTMLPreElement.cpp HTMLQuoteElement.cpp HTMLScriptElement.cpp HTMLSelectElement.cpp HTMLStyleElement.cpp HTMLTableCaptionElement.cpp HTMLTableCellElement.cpp HTMLTableColElement.cpp HTMLTableElement.cpp HTMLTableRowElement.cpp HTMLTableSectionElement.cpp HTMLTextAreaElement.cpp HTMLTitleElement.cpp HTMLUListElement.cpp Attr.cpp Attr.h CSSException.h CSSPrimitiveValue.h CSSStyleDeclaration.h CSSStyleSheet.h CSSValue.h Counter.h DocumentFragment.h DocumentStyle.h DocumentType.h Element.h Event.h GUIActivateEvent.h HTMLAnchorElement.h HTMLAppletElement.h HTMLAreaElement.h HTMLBRElement.h HTMLBaseElement.h HTMLBaseFontElement.h HTMLBlockquoteElement.h HTMLBodyElement.h HTMLButtonElement.h HTMLCollection.h HTMLDListElement.h HTMLDirectoryElement.h HTMLDivElement.h HTMLDocument.h HTMLElement.h HTMLFieldSetElement.h HTMLFontElement.h HTMLFormElement.h HTMLFrameElement.h HTMLFrameSetElement.h HTMLHRElement.h HTMLHeadElement.h HTMLHeadingElement.h HTMLHtmlElement.h HTMLIFrameElement.h HTMLImageElement.h HTMLInputElement.h HTMLIsIndexElement.h HTMLLIElement.h HTMLLabelElement.h HTMLLegendElement.h HTMLLinkElement.h HTMLMapElement.h HTMLMenuElement.h HTMLMetaElement.h HTMLModElement.h HTMLOListElement.h HTMLObjectElement.h HTMLOptGroupElement.h HTMLOptionElement.h HTMLParagraphElement.h HTMLParamElement.h HTMLPreElement.h HTMLQuoteElement.h HTMLScriptElement.h HTMLSelectElement.h HTMLStyleElement.h HTMLTableCaptionElement.h HTMLTableCellElement.h HTMLTableColElement.h HTMLTableElement.h HTMLTableRowElement.h HTMLTableSectionElement.h HTMLTextAreaElement.h HTMLTitleElement.h HTMLUListElement.h MouseEvent.h NamedNodeMap.h OpenURLEvent.h PartActivateEvent.h PartSelectEvent.h RGBColor.h ReadWritePart.h Rect.h StyleSheet.h DockMainWindow.cpp MainWindow.cpp DockMainWindow.h MainWindow.h CDATASection.cpp Comment.cpp EntityReference.cpp NodeFilter.cpp NodeIterator.cpp ProcessingInstruction.cpp Range.cpp Text.cpp TreeWalker.cpp CharacterData.cpp CDATASection.h CharacterData.h Comment.h EntityReference.h NodeFilter.h NodeIterator.h ProcessingInstruction.h Range.h Text.h TreeWalker.h CopyJob.cpp DeleteJob.cpp FileCopyJob.cpp Job.cpp KDirNotify.cpp KDirSize.cpp ListJob.cpp MimetypeJob.cpp SimpleJob.cpp StatJob.cpp TransferJob.cpp Connection.cpp Slave.cpp Connection.h CopyJob.h DeleteJob.h FileCopyJob.h Job.h KDirNotify.h KDirSize.h ListJob.h MimetypeJob.h SimpleJob.h Slave.h StatJob.h TransferJob.h KAboutContributor.cpp KAboutContributor.h KAboutTranslator.cpp KAboutTranslator.h KCodecs.cpp KCodecs.h KCommand.cpp KCommand.h KCommandHistory.cpp KCommandHistory.h KCompletionBox.cpp KCompletionBox.h KDialogQueue.cpp KDialogQueue.h KEditListBox.cpp KEditListBox.h KFilterBase.cpp KFilterBase.h KFilterDev.cpp KFilterDev.h KFontCombo.cpp KFontCombo.h KMacroCommand.cpp KMacroCommand.h KPanelExtension.cpp KPanelExtension.h KPixmapSplitter.cpp KPixmapSplitter.h KPreviewWidgetBase.cpp KPreviewWidgetBase.h KPushButton.cpp KPushButton.h KScanDialog.cpp KScanDialog.h KSqueezedTextLabel.cpp KSqueezedTextLabel.h KToolBarPopupAction.cpp KToolBarPopupAction.h KDEJavaSlot.cpp KDEJavaSlot.h KTipDatabase.cpp KTipDialog.cpp KTipDatabase.h KTipDialog.h ASConsumer.java KListViewItem.cpp KListViewItem.h KArchive.cpp KArchive.h KTar.cpp KTar.h KArchiveDirectory.cpp KSSLPKCS12.cpp KArchiveDirectory.h KSSLPKCS12.h KArchiveEntry.cpp KArchiveFile.cpp KArchiveEntry.h KArchiveFile.h KDialogBase.cpp KFileMetaInfo.cpp KFileMetaInfo.h KFileMetaInfoItem.cpp KFileMetaInfoItem.h KGuiItem.cpp KGuiItem.h KIconViewItem.cpp KIconViewItem.h KStdGuiItem.cpp KStdGuiItem.h KDataTool.cpp KDataToolAction.cpp KDataToolInfo.cpp KDateWidget.cpp KDirSelectDialog.cpp KEMailSettings.cpp KFileFilterCombo.cpp KFileTreeBranch.cpp KFileTreeView.cpp KFileTreeViewItem.cpp KFileTreeViewToolTip.cpp KMultipleDrag.cpp KWordWrap.cpp KDataTool.h KDataToolAction.h KDataToolInfo.h KDateWidget.h KDirSelectDialog.h KFileTreeBranch.h KFileTreeView.h KFileTreeViewItem.h KFileTreeViewToolTip.h KEMailSettings.h KFileFilterCombo.h KMultipleDrag.h KWordWrap.h KShortcut.cpp KKey.cpp KKey.h KShortcut.h KIO.cpp KIO.h Scheduler.cpp Scheduler.h StatusbarProgress.cpp StatusbarProgress.h ProgressBase.cpp ProgressBase.h KKeySequence.cpp KKeySequence.h KDockMainWindow.cpp KDockMainWindow.h KDockManager.cpp KDockManager.h KDockTabGroup.cpp KDockTabGroup.h KDockWidget.cpp KDockWidget.h KURLPixmapProvider.cpp KURLPixmapProvider.h KColor.cpp KColor.h KColorCells.cpp KColorCells.h KColorDialog.cpp KColorDialog.h KColorPatch.cpp KColorPatch.h KHSSelector.cpp KHSSelector.h KPaletteTable.cpp KPaletteTable.h KValueSelector.cpp KValueSelector.h KDE.cpp KDE.h KSSLCertDlgRet.cpp KSSLCertDlgRet.h KListAction.cpp KListAction.h KRecentFilesAction.cpp KRecentFilesAction.h KArrowButton.cpp KArrowButton.h KDateTimeWidget.cpp KDateTimeWidget.h KFind.cpp KFindDialog.cpp KFindDialog.h KFind.h KMultiTabBarButton.cpp KMultiTabBarButton.h KMultiTabBar.cpp KMultiTabBar.h KMultiTabBarTab.cpp KMultiTabBarTab.h KPrintAction.cpp KPrintAction.h KProgressDialog.cpp KProgressDialog.h KReplace.cpp KReplaceDialog.cpp KReplaceDialog.h KReplace.h AbstractView.cpp AbstractView.h CSSRule.cpp CSSRule.h CSSRuleList.cpp CSSRuleList.h CustomNodeFilter.cpp CustomNodeFilter.h DavJob.cpp DavJob.h Document.cpp Document.h DomShared.cpp DomShared.h EventListener.cpp EventListener.h KCalendarSystem.cpp KCalendarSystem.h KFileMetaInfoGroup.cpp KFileMetaInfoGroup.h KMimeSourceFactory.cpp KMimeSourceFactory.h TDESharedConfig.cpp TDESharedConfig.h KShortcutList.cpp KShortcutList.h KSSLCertBox.h KSSLCertBox.java KSSLCertChain.cpp KSSLCertChain.h KSSLSession.cpp KSSLSession.h KSSLX509V3.cpp KSSLX509V3.h KToggleFullScreenAction.cpp KToggleFullScreenAction.h KURLBar.cpp KURLBar.h KURLBarItem.cpp KURLBarItem.h KURLBarListBox.cpp KURLBarListBox.h MetaInfoJob.cpp MetaInfoJob.h Node.cpp Node.h PreviewJob.cpp PreviewJob.h UIEvent.cpp UIEvent.h KCatalogue.cpp KCatalogue.h KDoubleValidator.cpp KDoubleValidator.h KKeyButton.cpp KKeyButton.h KMdiToolViewAccessor.cpp KMdiToolViewAccessor.h KMdiChildArea.cpp KMdiChildArea.h KMdiChildFrmCaption.cpp KMdiChildFrmCaption.h KMdiChildFrm.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrmDragBeginEvent.h KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragEndEvent.h KMdiChildFrm.h KMdiChildFrmMoveEvent.cpp KMdiChildFrmMoveEvent.h KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmResizeBeginEvent.h KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeEndEvent.h KMdiChildView.cpp KMdiChildView.h KMdi.cpp KMdi.h KMdiMainFrm.cpp KMdiMainFrm.h KMdiTaskBarButton.cpp KMdiTaskBarButton.h KMdiTaskBar.cpp KMdiTaskBar.h KMdiViewCloseEvent.cpp KMdiViewCloseEvent.h KMdiWin32IconButton.cpp KMdiWin32IconButton.h KPasteTextAction.cpp KPasteTextAction.h KStringListValidator.cpp KStringListValidator.h KTabBar.cpp KTabBar.h KTabWidget.cpp KTabWidget.h KTextEdit.cpp KTextEdit.h KTimeWidget.cpp KTimeWidget.h KToggleToolBarAction.cpp KToggleToolBarAction.h KURLComboRequester.cpp KURLComboRequester.h DefaultProgress.h SlaveBase.h DefaultProgress.cpp KEdit.cpp KEdit.h KFloatValidator.cpp KFloatValidator.h KMimeMagic.cpp KMimeMagic.h KMimeMagicResult.cpp KMimeMagicResult.h KShellProcess.cpp KShellProcess.h SlaveBase.cpp SlaveInterface.cpp SlaveInterface.h AuthInfo.cpp TDEBufferedIO.cpp KDirLister.cpp RenameDlg.cpp Observer.cpp KAsyncIO.cpp AuthInfo.h KAsyncIO.h TDEBufferedIO.h KDirLister.h Observer.h RenameDlg.h KInputDialog.cpp KInputDialog.h CSSCharsetRule.cpp CSSCharsetRule.h CSSFontFaceRule.cpp CSSFontFaceRule.h CSSImportRule.cpp CSSImportRule.h CSSMediaRule.cpp CSSMediaRule.h CSSPageRule.cpp CSSPageRule.h CSSStyleRule.cpp CSSStyleRule.h CSSUnknownRule.cpp CSSUnknownRule.h CSSValueList.cpp CSSValueList.h DOMException.cpp DOMException.h DOMImplementation.cpp DOMImplementation.h Entity.cpp Entity.h EventException.cpp EventException.h Factory.cpp Factory.h HistoryProvider.cpp HistoryProvider.h HTMLFormCollection.cpp HTMLFormCollection.h KAccelShortcutList.cpp KAccelShortcutList.h KActionShortcutList.cpp KActionShortcutList.h KActiveLabel.cpp KActiveLabel.h KAr.cpp KAr.h KCalendarSystemFactory.cpp KCalendarSystemFactory.h TDECModuleInfo.cpp TDECModuleInfo.h TDECModuleLoader.cpp TDECModuleLoader.h KCMultiDialog.cpp KCMultiDialog.h TDEConfigGroup.cpp TDEConfigGroup.h KCPUInfo.cpp KCPUInfo.h KCustomMenuEditor.cpp KCustomMenuEditor.h KDCOPServiceStarter.cpp KDCOPServiceStarter.h KDiskFreeSp.cpp KDiskFreeSp.h KDockArea.cpp KDockArea.h KFilePlugin.cpp KFilePlugin.h KFileShare.cpp KFileShare.h KFontRequester.cpp KFontRequester.h KIDNA.cpp KIDNA.h KKeyNative.cpp KKeyNative.h KMD5.cpp KMD5.h KMimeTypeResolverBase.cpp KMimeTypeResolverBase.h KMimeTypeResolverHelper.cpp KMimeTypeResolverHelper.h KMimeTypeValidator.cpp KMimeTypeValidator.h KMountPoint.cpp KMountPoint.h KOCRDialog.cpp KOCRDialog.h KPanelAppMenu.cpp KPanelAppMenu.h KPassivePopup.cpp KPassivePopup.h KPluginSelector.cpp KPluginSelector.h KRegExpEditorInterface.cpp KRegExpEditorInterface.h KServiceSeparator.cpp KServiceSeparator.h KShell.cpp KShell.h KSimpleFileFilter.cpp KSimpleFileFilter.h KSMIMECrypto.cpp KSMIMECrypto.h KSpellingHighlighter.cpp KSpellingHighlighter.h KSSLCertDlg.cpp KSSLCertDlg.h KSSLCertificateCache.cpp KSSLCertificateCache.h KSSLCertificateFactory.cpp KSSLCertificateFactory.h KSSLKeyGen.cpp KSSLKeyGen.h KSSLPKCS7.cpp KSSLPKCS7.h KSSLSigners.cpp KSSLSigners.h KSyntaxHighlighter.cpp KSyntaxHighlighter.h KTempDir.cpp KTempDir.h KURLBarItemDialog.cpp KURLBarItemDialog.h KWidgetAction.cpp KWidgetAction.h KWindowInfo.cpp KWindowInfo.h KXMLGUI.cpp KXMLGUI.h KZip.cpp KZipFileEntry.cpp KZipFileEntry.h KZip.h LinkStyle.cpp LinkStyle.h LiveConnectExtension.cpp LiveConnectExtension.h MultiGetJob.cpp MultiGetJob.h MutationEvent.cpp MutationEvent.h Notation.cpp Notation.h PartBase.cpp PartBase.h PasswordDialog.cpp PasswordDialog.h Plugin.cpp Plugin.h RangeException.cpp RangeException.h SessionData.cpp SessionData.h SkipDlg.cpp SkipDlg.h StatusBarExtension.cpp StatusBarExtension.h TextEvent.cpp TextEvent.h KSSLCertBox.cpp KNamedCommand.cpp KNamedCommand.h PartManager.cpp PartManager.h URLArgs.cpp UrlArgs.h WindowArgs.cpp WindowArgs.h BrowserHostExtension.cpp BrowserHostExtension.h BrowserRun.cpp BrowserRun.h StoredTransferJob.cpp StoredTransferJob.h +EXTRA_DIST = BrowserExtension.h DCOPClient.h DCOPObject.h DCOPObjectInterface.h DCOPObjectProxy.h KAboutApplication.h KAboutContainer.h TDEAboutData.h KAboutDialog.h KAboutKDE.h KAboutPerson.h KAboutWidget.h TDEAccel.h TDEAction.h TDEActionCollection.h TDEActionMenu.h TDEActionSeparator.h KAnimWidget.h TDEApplication.h KAudioPlayer.h KAuthIcon.h KBugReport.h KButtonBox.h TDECModule.h KCharSelect.h KCharSelectTable.h KCharsets.h TDECmdLineArgs.h KColorButton.h KColorCombo.h KColorDrag.h KCombiView.h KComboBox.h KCompletion.h KCompletionBase.h KCompletionBaseInterface.h TDEConfig.h TDEConfigBackEnd.h TDEConfigBase.h TDEConfigGroupSaver.h TDEConfigINIBackEnd.h KContextMenuManager.h KCursor.h KDCOPActionProxy.h KDCOPPropertyProxy.h KDEDesktopMimeType.h KDateInternalMonthPicker.h KDateInternalYearSelector.h KDatePicker.h KDateTable.h KDateValidator.h KDesktopFile.h KDialog.h KDialogBase.h KDirOperator.h KDirWatch.h KDockWidgetAbstractHeader.h KDockWidgetAbstractHeaderDrag.h KDockWidgetHeader.h KDockWidgetHeaderDrag.h KDoubleNumInput.h KDualColorButton.h KEdFind.h KEdGotoLine.h KEdReplace.h KEditToolbar.h KEditToolbarWidget.h KEntry.h KEntryKey.h KExecMimeType.h KFile.h KFileDetailView.h KFileDialog.h KFileFilter.h KFileIconView.h KFileIconViewItem.h KFileItem.h KFileListViewItem.h KFilePreview.h KFileView.h KFileViewInterface.h KFileViewSignaler.h KFolderType.h TDEFontAction.h TDEFontChooser.h TDEFontDialog.h TDEFontSizeAction.h TDEGlobal.h TDEGlobalAccel.h TDEGlobalSettings.h KGradientSelector.h TDEHTMLPart.h TDEHTMLSettings.h TDEHTMLView.h KHelpMenu.h KHistoryCombo.h KIPC.h KIconButton.h KIconCanvas.h KIconDialog.h KIconEffect.h KIconLoader.h KIconView.h KImageEffect.h KImageIO.h TDEInstance.h TDEInstanceInterface.h KIntNumInput.h KIntSpinBox.h KIntValidator.h KJanusWidget.h KKeyChooser.h KKeyDialog.h KLed.h KLibFactory.h KLibLoader.h KLineEdit.h TDEListBox.h TDEListView.h TDELocale.h TDEMainWindow.h KMenuBar.h KMessageBox.h KMimeType.h KNotifyClient.h KNumInput.h KOpenWithDlg.h KPalette.h KPanelApplet.h KPanelMenu.h KPasswordDialog.h KPasswordEdit.h KPixmap.h KPixmapEffect.h KPixmapIO.h KPixmapProvider.h TDEPopupFrame.h TDEPopupMenu.h TDEPopupTitle.h KProcIO.h TDEProcess.h TDEProcessController.h TDEProcessRunner.h KProgress.h KProtocolInfo.h KProtocolManager.h KRFCDate.h TDERadioAction.h KRandomSequence.h TDERecentDocument.h KRestrictedLine.h KRootPermsIcon.h KRootPixmap.h KRootProp.h KRuler.h KRun.h KSSL.h KSSLCertificate.h KSSLCertificateHome.h KSSLConnectionInfo.h KSSLInfoDlg.h KSSLPeerInfo.h KSSLSettings.h KSSLX509Map.h KSaveFile.h TDESelectAction.h TDESelector.h KSeparator.h KService.h KServiceGroup.h KServiceOffer.h KServiceType.h KServiceTypeProfile.h KSessionManaged.h TDEShared.h KShellCompletion.h KShred.h KSimpleConfig.h KSpell.h KSpellConfig.h KSpellDlg.h TDEStandardDirs.h KStaticDeleterBase.h KStatusBar.h KStatusBarLabel.h TDEStdAccel.h KStdAction.h KStringHandler.h KSycoca.h KSycocaEntry.h KSystemTray.h KTabCtl.h KTempFile.h KTextBrowser.h TDEToggleAction.h TDEToolBar.h TDEToolBarButton.h TDEToolBarRadioGroup.h TDEToolBarSeparator.h TDETrader.h KURIFilter.h KURIFilterData.h KURIFilterPlugin.h KURL.h KURLComboBox.h KURLCompletion.h KURLDrag.h KURLLabel.h KURLRequester.h KURLRequesterDlg.h KUniqueApplication.h KWizard.h KWritePermsIcon.h KXMLGUIBuilder.h KXMLGUIBuilderInterface.h KXMLGUIClient.h KXMLGUIClientInterface.h KXMLGUIFactory.h KXYSelector.h Part.h PartBaseInterface.h ReadOnlyPart.h BrowserExtension.cpp DCOPClient.cpp DCOPObject.cpp DCOPObjectProxy.cpp KAboutApplication.cpp KAboutContainer.cpp TDEAboutData.cpp KAboutDialog.cpp KAboutKDE.cpp KAboutPerson.cpp KAboutWidget.cpp TDEAccel.cpp TDEAction.cpp TDEActionCollection.cpp TDEActionMenu.cpp TDEActionSeparator.cpp KAnimWidget.cpp TDEApplication.cpp KAudioPlayer.cpp KAuthIcon.cpp KBugReport.cpp KButtonBox.cpp TDECModule.cpp KCharSelect.cpp KCharSelectTable.cpp KCharsets.cpp TDECmdLineArgs.cpp KColorButton.cpp KColorCombo.cpp KColorDrag.cpp KCombiView.cpp KComboBox.cpp KCompletion.cpp KCompletionBase.cpp TDEConfig.cpp TDEConfigBackEnd.cpp TDEConfigBase.cpp TDEConfigGroupSaver.cpp TDEConfigINIBackEnd.cpp KContextMenuManager.cpp KCursor.cpp KDCOPActionProxy.cpp KDCOPPropertyProxy.cpp KDEDesktopMimeType.cpp KDatePicker.cpp KDateTable.cpp KDateValidator.cpp KDesktopFile.cpp KDialog.cpp KDirOperator.cpp KDirWatch.cpp KDockWidgetAbstractHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetHeaderDrag.cpp KDoubleNumInput.cpp KDualColorButton.cpp KEdFind.cpp KEdGotoLine.cpp KEdReplace.cpp KEditToolbar.cpp KEditToolbarWidget.cpp KEntry.cpp KEntryKey.cpp KExecMimeType.cpp KFile.cpp KFileDetailView.cpp KFileDialog.cpp KFileFilter.cpp KFileIconView.cpp KFileIconViewItem.cpp KFileItem.cpp KFileListViewItem.cpp KFilePreview.cpp KFileView.cpp KFileViewSignaler.cpp KFolderType.cpp TDEFontAction.cpp TDEFontChooser.cpp TDEFontDialog.cpp TDEFontSizeAction.cpp TDEGlobal.cpp TDEGlobalAccel.cpp TDEGlobalSettings.cpp KGradientSelector.cpp TDEHTMLPart.cpp TDEHTMLSettings.cpp TDEHTMLView.cpp KHelpMenu.cpp KHistoryCombo.cpp KIPC.cpp KIconButton.cpp KIconCanvas.cpp KIconDialog.cpp KIconEffect.cpp KIconLoader.cpp KIconView.cpp KImageEffect.cpp KImageIO.cpp TDEInstance.cpp KIntNumInput.cpp KIntSpinBox.cpp KIntValidator.cpp KJanusWidget.cpp KKeyChooser.cpp KKeyDialog.cpp KLed.cpp KLibFactory.cpp KLibLoader.cpp KLineEdit.cpp TDEListBox.cpp TDEListView.cpp TDELocale.cpp TDEMainWindow.cpp KMenuBar.cpp KMessageBox.cpp KMimeType.cpp KNotifyClient.cpp KNumInput.cpp KOpenWithDlg.cpp KPalette.cpp KPanelApplet.cpp KPanelMenu.cpp KPasswordDialog.cpp KPasswordEdit.cpp KPixmap.cpp KPixmapEffect.cpp KPixmapIO.cpp KPixmapProvider.cpp TDEPopupFrame.cpp TDEPopupMenu.cpp TDEPopupTitle.cpp KProcIO.cpp TDEProcess.cpp TDEProcessController.cpp TDEProcessRunner.cpp KProgress.cpp KProtocolInfo.cpp KProtocolManager.cpp KRFCDate.cpp TDERadioAction.cpp KRandomSequence.cpp TDERecentDocument.cpp KRestrictedLine.cpp KRootPermsIcon.cpp KRootPixmap.cpp KRootProp.cpp KRuler.cpp KRun.cpp KSSL.cpp KSSLCertificate.cpp KSSLCertificateHome.cpp KSSLConnectionInfo.cpp KSSLInfoDlg.cpp KSSLPeerInfo.cpp KSSLSettings.cpp KSSLX509Map.cpp KSaveFile.cpp TDESelectAction.cpp TDESelector.cpp KSeparator.cpp KService.cpp KServiceGroup.cpp KServiceOffer.cpp KServiceType.cpp KServiceTypeProfile.cpp KSessionManaged.cpp TDEShared.cpp KShellCompletion.cpp KShred.cpp KSimpleConfig.cpp KSpell.cpp KSpellConfig.cpp KSpellDlg.cpp TDEStandardDirs.cpp KStaticDeleterBase.cpp KStatusBar.cpp KStatusBarLabel.cpp TDEStdAccel.cpp KStdAction.cpp KStringHandler.cpp KSycoca.cpp KSycocaEntry.cpp KSystemTray.cpp KTabCtl.cpp KTempFile.cpp KTextBrowser.cpp TDEToggleAction.cpp TDEToolBar.cpp TDEToolBarButton.cpp TDEToolBarRadioGroup.cpp TDEToolBarSeparator.cpp TDETrader.cpp KURIFilter.cpp KURIFilterData.cpp KURIFilterPlugin.cpp KURL.cpp KURLComboBox.cpp KURLCompletion.cpp KURLDrag.cpp KURLLabel.cpp KURLRequester.cpp KURLRequesterDlg.cpp KUniqueApplication.cpp KWizard.cpp KWritePermsIcon.cpp KXMLGUIBuilder.cpp KXMLGUIClient.cpp KXMLGUIFactory.cpp KXYSelector.cpp Part.cpp ReadOnlyPart.cpp NetAccess.cpp NetAccess.h KDESupport.cpp Event.cpp GUIActivateEvent.cpp MouseEvent.cpp OpenURLEvent.cpp PartActivateEvent.cpp PartSelectEvent.cpp ReadWritePart.cpp DocumentFragment.cpp DocumentStyle.cpp DocumentType.cpp HTMLDocument.cpp NamedNodeMap.cpp CSSStyleSheet.cpp StyleSheet.cpp CSSException.cpp CSSPrimitiveValue.cpp CSSStyleDeclaration.cpp CSSValue.cpp Counter.cpp RGBColor.cpp Rect.cpp Element.cpp HTMLAnchorElement.cpp HTMLAppletElement.cpp HTMLAreaElement.cpp HTMLBRElement.cpp HTMLBaseElement.cpp HTMLBaseFontElement.cpp HTMLBlockquoteElement.cpp HTMLBodyElement.cpp HTMLButtonElement.cpp HTMLCollection.cpp HTMLDListElement.cpp HTMLDirectoryElement.cpp HTMLDivElement.cpp HTMLElement.cpp HTMLFieldSetElement.cpp HTMLFontElement.cpp HTMLFormElement.cpp HTMLFrameElement.cpp HTMLFrameSetElement.cpp HTMLHRElement.cpp HTMLHeadElement.cpp HTMLHeadingElement.cpp HTMLHtmlElement.cpp HTMLIFrameElement.cpp HTMLImageElement.cpp HTMLInputElement.cpp HTMLIsIndexElement.cpp HTMLLIElement.cpp HTMLLabelElement.cpp HTMLLegendElement.cpp HTMLLinkElement.cpp HTMLMapElement.cpp HTMLMenuElement.cpp HTMLMetaElement.cpp HTMLModElement.cpp HTMLOListElement.cpp HTMLObjectElement.cpp HTMLOptGroupElement.cpp HTMLOptionElement.cpp HTMLParagraphElement.cpp HTMLParamElement.cpp HTMLPreElement.cpp HTMLQuoteElement.cpp HTMLScriptElement.cpp HTMLSelectElement.cpp HTMLStyleElement.cpp HTMLTableCaptionElement.cpp HTMLTableCellElement.cpp HTMLTableColElement.cpp HTMLTableElement.cpp HTMLTableRowElement.cpp HTMLTableSectionElement.cpp HTMLTextAreaElement.cpp HTMLTitleElement.cpp HTMLUListElement.cpp Attr.cpp Attr.h CSSException.h CSSPrimitiveValue.h CSSStyleDeclaration.h CSSStyleSheet.h CSSValue.h Counter.h DocumentFragment.h DocumentStyle.h DocumentType.h Element.h Event.h GUIActivateEvent.h HTMLAnchorElement.h HTMLAppletElement.h HTMLAreaElement.h HTMLBRElement.h HTMLBaseElement.h HTMLBaseFontElement.h HTMLBlockquoteElement.h HTMLBodyElement.h HTMLButtonElement.h HTMLCollection.h HTMLDListElement.h HTMLDirectoryElement.h HTMLDivElement.h HTMLDocument.h HTMLElement.h HTMLFieldSetElement.h HTMLFontElement.h HTMLFormElement.h HTMLFrameElement.h HTMLFrameSetElement.h HTMLHRElement.h HTMLHeadElement.h HTMLHeadingElement.h HTMLHtmlElement.h HTMLIFrameElement.h HTMLImageElement.h HTMLInputElement.h HTMLIsIndexElement.h HTMLLIElement.h HTMLLabelElement.h HTMLLegendElement.h HTMLLinkElement.h HTMLMapElement.h HTMLMenuElement.h HTMLMetaElement.h HTMLModElement.h HTMLOListElement.h HTMLObjectElement.h HTMLOptGroupElement.h HTMLOptionElement.h HTMLParagraphElement.h HTMLParamElement.h HTMLPreElement.h HTMLQuoteElement.h HTMLScriptElement.h HTMLSelectElement.h HTMLStyleElement.h HTMLTableCaptionElement.h HTMLTableCellElement.h HTMLTableColElement.h HTMLTableElement.h HTMLTableRowElement.h HTMLTableSectionElement.h HTMLTextAreaElement.h HTMLTitleElement.h HTMLUListElement.h MouseEvent.h NamedNodeMap.h OpenURLEvent.h PartActivateEvent.h PartSelectEvent.h RGBColor.h ReadWritePart.h Rect.h StyleSheet.h DockMainWindow.cpp MainWindow.cpp DockMainWindow.h MainWindow.h CDATASection.cpp Comment.cpp EntityReference.cpp NodeFilter.cpp NodeIterator.cpp ProcessingInstruction.cpp Range.cpp Text.cpp TreeWalker.cpp CharacterData.cpp CDATASection.h CharacterData.h Comment.h EntityReference.h NodeFilter.h NodeIterator.h ProcessingInstruction.h Range.h Text.h TreeWalker.h CopyJob.cpp DeleteJob.cpp FileCopyJob.cpp Job.cpp KDirNotify.cpp KDirSize.cpp ListJob.cpp MimetypeJob.cpp SimpleJob.cpp StatJob.cpp TransferJob.cpp Connection.cpp Slave.cpp Connection.h CopyJob.h DeleteJob.h FileCopyJob.h Job.h KDirNotify.h KDirSize.h ListJob.h MimetypeJob.h SimpleJob.h Slave.h StatJob.h TransferJob.h KAboutContributor.cpp KAboutContributor.h KAboutTranslator.cpp KAboutTranslator.h KCodecs.cpp KCodecs.h KCommand.cpp KCommand.h KCommandHistory.cpp KCommandHistory.h KCompletionBox.cpp KCompletionBox.h KDialogQueue.cpp KDialogQueue.h KEditListBox.cpp KEditListBox.h KFilterBase.cpp KFilterBase.h KFilterDev.cpp KFilterDev.h TDEFontCombo.cpp TDEFontCombo.h KMacroCommand.cpp KMacroCommand.h KPanelExtension.cpp KPanelExtension.h KPixmapSplitter.cpp KPixmapSplitter.h KPreviewWidgetBase.cpp KPreviewWidgetBase.h KPushButton.cpp KPushButton.h KScanDialog.cpp KScanDialog.h KSqueezedTextLabel.cpp KSqueezedTextLabel.h TDEToolBarPopupAction.cpp TDEToolBarPopupAction.h KDEJavaSlot.cpp KDEJavaSlot.h KTipDatabase.cpp KTipDialog.cpp KTipDatabase.h KTipDialog.h ASConsumer.java TDEListViewItem.cpp TDEListViewItem.h KArchive.cpp KArchive.h KTar.cpp KTar.h KArchiveDirectory.cpp KSSLPKCS12.cpp KArchiveDirectory.h KSSLPKCS12.h KArchiveEntry.cpp KArchiveFile.cpp KArchiveEntry.h KArchiveFile.h KDialogBase.cpp KFileMetaInfo.cpp KFileMetaInfo.h KFileMetaInfoItem.cpp KFileMetaInfoItem.h KGuiItem.cpp KGuiItem.h KIconViewItem.cpp KIconViewItem.h KStdGuiItem.cpp KStdGuiItem.h KDataTool.cpp KDataToolAction.cpp KDataToolInfo.cpp KDateWidget.cpp KDirSelectDialog.cpp KEMailSettings.cpp KFileFilterCombo.cpp KFileTreeBranch.cpp KFileTreeView.cpp KFileTreeViewItem.cpp KFileTreeViewToolTip.cpp KMultipleDrag.cpp KWordWrap.cpp KDataTool.h KDataToolAction.h KDataToolInfo.h KDateWidget.h KDirSelectDialog.h KFileTreeBranch.h KFileTreeView.h KFileTreeViewItem.h KFileTreeViewToolTip.h KEMailSettings.h KFileFilterCombo.h KMultipleDrag.h KWordWrap.h TDEShortcut.cpp KKey.cpp KKey.h TDEShortcut.h KIO.cpp KIO.h Scheduler.cpp Scheduler.h StatusbarProgress.cpp StatusbarProgress.h ProgressBase.cpp ProgressBase.h KKeySequence.cpp KKeySequence.h KDockMainWindow.cpp KDockMainWindow.h KDockManager.cpp KDockManager.h KDockTabGroup.cpp KDockTabGroup.h KDockWidget.cpp KDockWidget.h KURLPixmapProvider.cpp KURLPixmapProvider.h KColor.cpp KColor.h KColorCells.cpp KColorCells.h KColorDialog.cpp KColorDialog.h KColorPatch.cpp KColorPatch.h KHSSelector.cpp KHSSelector.h KPaletteTable.cpp KPaletteTable.h KValueSelector.cpp KValueSelector.h KDE.cpp KDE.h KSSLCertDlgRet.cpp KSSLCertDlgRet.h TDEListAction.cpp TDEListAction.h TDERecentFilesAction.cpp TDERecentFilesAction.h KArrowButton.cpp KArrowButton.h KDateTimeWidget.cpp KDateTimeWidget.h KFind.cpp KFindDialog.cpp KFindDialog.h KFind.h KMultiTabBarButton.cpp KMultiTabBarButton.h KMultiTabBar.cpp KMultiTabBar.h KMultiTabBarTab.cpp KMultiTabBarTab.h KPrintAction.cpp KPrintAction.h KProgressDialog.cpp KProgressDialog.h KReplace.cpp KReplaceDialog.cpp KReplaceDialog.h KReplace.h AbstractView.cpp AbstractView.h CSSRule.cpp CSSRule.h CSSRuleList.cpp CSSRuleList.h CustomNodeFilter.cpp CustomNodeFilter.h DavJob.cpp DavJob.h Document.cpp Document.h DomShared.cpp DomShared.h EventListener.cpp EventListener.h KCalendarSystem.cpp KCalendarSystem.h KFileMetaInfoGroup.cpp KFileMetaInfoGroup.h KMimeSourceFactory.cpp KMimeSourceFactory.h TDESharedConfig.cpp TDESharedConfig.h TDEShortcutList.cpp TDEShortcutList.h KSSLCertBox.h KSSLCertBox.java KSSLCertChain.cpp KSSLCertChain.h KSSLSession.cpp KSSLSession.h KSSLX509V3.cpp KSSLX509V3.h TDEToggleFullScreenAction.cpp TDEToggleFullScreenAction.h KURLBar.cpp KURLBar.h KURLBarItem.cpp KURLBarItem.h KURLBarListBox.cpp KURLBarListBox.h MetaInfoJob.cpp MetaInfoJob.h Node.cpp Node.h PreviewJob.cpp PreviewJob.h UIEvent.cpp UIEvent.h KCatalogue.cpp KCatalogue.h KDoubleValidator.cpp KDoubleValidator.h KKeyButton.cpp KKeyButton.h KMdiToolViewAccessor.cpp KMdiToolViewAccessor.h KMdiChildArea.cpp KMdiChildArea.h KMdiChildFrmCaption.cpp KMdiChildFrmCaption.h KMdiChildFrm.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrmDragBeginEvent.h KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragEndEvent.h KMdiChildFrm.h KMdiChildFrmMoveEvent.cpp KMdiChildFrmMoveEvent.h KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmResizeBeginEvent.h KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeEndEvent.h KMdiChildView.cpp KMdiChildView.h KMdi.cpp KMdi.h KMdiMainFrm.cpp KMdiMainFrm.h KMdiTaskBarButton.cpp KMdiTaskBarButton.h KMdiTaskBar.cpp KMdiTaskBar.h KMdiViewCloseEvent.cpp KMdiViewCloseEvent.h KMdiWin32IconButton.cpp KMdiWin32IconButton.h TDEPasteTextAction.cpp TDEPasteTextAction.h KStringListValidator.cpp KStringListValidator.h KTabBar.cpp KTabBar.h KTabWidget.cpp KTabWidget.h KTextEdit.cpp KTextEdit.h KTimeWidget.cpp KTimeWidget.h TDEToggleToolBarAction.cpp TDEToggleToolBarAction.h KURLComboRequester.cpp KURLComboRequester.h DefaultProgress.h SlaveBase.h DefaultProgress.cpp KEdit.cpp KEdit.h KFloatValidator.cpp KFloatValidator.h KMimeMagic.cpp KMimeMagic.h KMimeMagicResult.cpp KMimeMagicResult.h KShellProcess.cpp KShellProcess.h SlaveBase.cpp SlaveInterface.cpp SlaveInterface.h AuthInfo.cpp TDEBufferedIO.cpp KDirLister.cpp RenameDlg.cpp Observer.cpp KAsyncIO.cpp AuthInfo.h KAsyncIO.h TDEBufferedIO.h KDirLister.h Observer.h RenameDlg.h KInputDialog.cpp KInputDialog.h CSSCharsetRule.cpp CSSCharsetRule.h CSSFontFaceRule.cpp CSSFontFaceRule.h CSSImportRule.cpp CSSImportRule.h CSSMediaRule.cpp CSSMediaRule.h CSSPageRule.cpp CSSPageRule.h CSSStyleRule.cpp CSSStyleRule.h CSSUnknownRule.cpp CSSUnknownRule.h CSSValueList.cpp CSSValueList.h DOMException.cpp DOMException.h DOMImplementation.cpp DOMImplementation.h Entity.cpp Entity.h EventException.cpp EventException.h Factory.cpp Factory.h HistoryProvider.cpp HistoryProvider.h HTMLFormCollection.cpp HTMLFormCollection.h TDEAccelShortcutList.cpp TDEAccelShortcutList.h TDEActionShortcutList.cpp TDEActionShortcutList.h KActiveLabel.cpp KActiveLabel.h KAr.cpp KAr.h KCalendarSystemFactory.cpp KCalendarSystemFactory.h TDECModuleInfo.cpp TDECModuleInfo.h TDECModuleLoader.cpp TDECModuleLoader.h KCMultiDialog.cpp KCMultiDialog.h TDEConfigGroup.cpp TDEConfigGroup.h KCPUInfo.cpp KCPUInfo.h KCustomMenuEditor.cpp KCustomMenuEditor.h KDCOPServiceStarter.cpp KDCOPServiceStarter.h KDiskFreeSp.cpp KDiskFreeSp.h KDockArea.cpp KDockArea.h KFilePlugin.cpp KFilePlugin.h KFileShare.cpp KFileShare.h TDEFontRequester.cpp TDEFontRequester.h KIDNA.cpp KIDNA.h KKeyNative.cpp KKeyNative.h KMD5.cpp KMD5.h KMimeTypeResolverBase.cpp KMimeTypeResolverBase.h KMimeTypeResolverHelper.cpp KMimeTypeResolverHelper.h KMimeTypeValidator.cpp KMimeTypeValidator.h KMountPoint.cpp KMountPoint.h KOCRDialog.cpp KOCRDialog.h KPanelAppMenu.cpp KPanelAppMenu.h KPassivePopup.cpp KPassivePopup.h KPluginSelector.cpp KPluginSelector.h KRegExpEditorInterface.cpp KRegExpEditorInterface.h KServiceSeparator.cpp KServiceSeparator.h KShell.cpp KShell.h KSimpleFileFilter.cpp KSimpleFileFilter.h KSMIMECrypto.cpp KSMIMECrypto.h KSpellingHighlighter.cpp KSpellingHighlighter.h KSSLCertDlg.cpp KSSLCertDlg.h KSSLCertificateCache.cpp KSSLCertificateCache.h KSSLCertificateFactory.cpp KSSLCertificateFactory.h KSSLKeyGen.cpp KSSLKeyGen.h KSSLPKCS7.cpp KSSLPKCS7.h KSSLSigners.cpp KSSLSigners.h KSyntaxHighlighter.cpp KSyntaxHighlighter.h KTempDir.cpp KTempDir.h KURLBarItemDialog.cpp KURLBarItemDialog.h KWidgetAction.cpp KWidgetAction.h KWindowInfo.cpp KWindowInfo.h KXMLGUI.cpp KXMLGUI.h KZip.cpp KZipFileEntry.cpp KZipFileEntry.h KZip.h LinkStyle.cpp LinkStyle.h LiveConnectExtension.cpp LiveConnectExtension.h MultiGetJob.cpp MultiGetJob.h MutationEvent.cpp MutationEvent.h Notation.cpp Notation.h PartBase.cpp PartBase.h PasswordDialog.cpp PasswordDialog.h Plugin.cpp Plugin.h RangeException.cpp RangeException.h SessionData.cpp SessionData.h SkipDlg.cpp SkipDlg.h StatusBarExtension.cpp StatusBarExtension.h TextEvent.cpp TextEvent.h KSSLCertBox.cpp KNamedCommand.cpp KNamedCommand.h PartManager.cpp PartManager.h URLArgs.cpp UrlArgs.h WindowArgs.cpp WindowArgs.h BrowserHostExtension.cpp BrowserHostExtension.h BrowserRun.cpp BrowserRun.h StoredTransferJob.cpp StoredTransferJob.h ####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/kdejava/Plugin.cpp b/kdejava/koala/kdejava/Plugin.cpp index 6e7ca8e1..88fc1eab 100644 --- a/kdejava/koala/kdejava/Plugin.cpp +++ b/kdejava/koala/kdejava/Plugin.cpp @@ -120,7 +120,7 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_actionCollection(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.KActionCollection"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); return xret; } @@ -128,14 +128,14 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); return xret; } diff --git a/kdejava/koala/kdejava/TDEAccel.cpp b/kdejava/koala/kdejava/TDEAccel.cpp new file mode 100644 index 00000000..80c87a61 --- /dev/null +++ b/kdejava/koala/kdejava/TDEAccel.cpp @@ -0,0 +1,361 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <kstdaccel.h> +#include <kaccel.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEAccel.h> + +class TDEAccelJBridge : public TDEAccel +{ +public: + TDEAccelJBridge(TQWidget* arg1,const char* arg2) : TDEAccel(arg1,arg2) {}; + TDEAccelJBridge(TQWidget* arg1) : TDEAccel(arg1) {}; + TDEAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEAccel(arg1,arg2,arg3) {}; + TDEAccelJBridge(TQWidget* arg1,TQObject* arg2) : TDEAccel(arg1,arg2) {}; + ~TDEAccelJBridge() {QtSupport::qtKeyDeleted(this);} + 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 removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_actions(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEAccelActions *) &((TDEAccel*) QtSupport::getQt(env, obj))->actions(), "org.kde.koala.TDEAccelActions"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAccel_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAccel_configGroup(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->configGroup(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEAccel_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_emitKeycodeChanged(JNIEnv* env, jobject obj) +{ + ((TDEAccel*) QtSupport::getQt(env, obj))->emitKeycodeChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAccel*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEAccel*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) +{ +static TQString* _qstring_sAction = 0; +static TQString* _qstring_sLabel = 0; +static TQString* _qstring_sWhatsThis = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) +{ +static TQCString* _qstring_psAction = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) +{ +static TQCString* _qstring_psAction = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) +{ +static TQCString* _qstring_psAction = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pParent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) +{ +static TQCString* _qstring_psName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring psName) +{ +static TQCString* _qstring_psName = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_readSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_remove(JNIEnv* env, jobject obj, jstring sAction) +{ +static TQString* _qstring_sAction = 0; + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_setAutoUpdate(JNIEnv* env, jobject obj, jboolean bAuto) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) bAuto); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TDEAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnabled) +{ +static TQString* _qstring_sAction = 0; + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnabled); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccel_setEnabled__Z(JNIEnv* env, jobject obj, jboolean bEnabled) +{ + ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) bEnabled); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) +{ +static TQString* _qstring_sAction = 0; + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) +{ +static TQString* _qstring_sAction = 0; + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) +{ +static TQString* _qstring_sAction = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_updateConnections(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->updateConnections(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_writeSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) +{ + jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEAccel.h b/kdejava/koala/kdejava/TDEAccel.h new file mode 100644 index 00000000..5097810a --- /dev/null +++ b/kdejava/koala/kdejava/TDEAccel.h @@ -0,0 +1,56 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEAccel__ +#define __org_kde_koala_TDEAccel__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_actions (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setAutoUpdate (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_remove (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_updateConnections (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_shortcut (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_configGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setConfigGroup (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_emitKeycodeChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEAccel__ */ diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.cpp b/kdejava/koala/kdejava/TDEAccelShortcutList.cpp new file mode 100644 index 00000000..7264b747 --- /dev/null +++ b/kdejava/koala/kdejava/TDEAccelShortcutList.cpp @@ -0,0 +1,159 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <tqvariant.h> +#include <kshortcutlist.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEAccelShortcutList.h> + +class TDEAccelShortcutListJBridge : public TDEAccelShortcutList +{ +public: + TDEAccelShortcutListJBridge(TDEAccel* arg1) : TDEAccelShortcutList(arg1) {}; + TDEAccelShortcutListJBridge(TDEGlobalAccel* arg1) : TDEAccelShortcutList(arg1) {}; + TDEAccelShortcutListJBridge(TDEAccelActions& arg1,bool arg2) : TDEAccelShortcutList(arg1,arg2) {}; + ~TDEAccelShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAccelShortcutList_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccelShortcutList_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEAccelShortcutList_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccelShortcutList_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDEAccelShortcutList*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccelShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAccelShortcutList_label(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAccelShortcutList_name(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z(JNIEnv* env, jobject obj, jobject actions, jboolean bGlobal) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccelActions&)*(TDEAccelActions*) QtSupport::getQt(env, actions), (bool) bGlobal)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject accel) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccel*) QtSupport::getQt(env, accel))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEGlobalAccel*) QtSupport::getQt(env, accel))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_save(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->save(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) +{ + jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAccelShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) +{ + jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAccelShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAccelShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.h b/kdejava/koala/kdejava/TDEAccelShortcutList.h new file mode 100644 index 00000000..3d856c17 --- /dev/null +++ b/kdejava/koala/kdejava/TDEAccelShortcutList.h @@ -0,0 +1,36 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEAccelShortcutList__ +#define __org_kde_koala_TDEAccelShortcutList__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAccelShortcutList_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_name (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_label (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcut (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isConfigurable (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isGlobal (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_getOther (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_save (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEAccelShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEAction.cpp b/kdejava/koala/kdejava/TDEAction.cpp new file mode 100644 index 00000000..da89d3ac --- /dev/null +++ b/kdejava/koala/kdejava/TDEAction.cpp @@ -0,0 +1,778 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kaction.h> +#include <tqiconset.h> +#include <kicontheme.h> +#include <tqstring.h> +#include <kguiitem.h> +#include <kshortcut.h> +#include <tqnamespace.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEAction.h> + +class TDEActionJBridge : public TDEAction +{ +public: + TDEActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + void public_activate() { + TDEAction::activate(); + return; + } + TDEToolBar* protected_toolBar(int arg1) { + return (TDEToolBar*) TDEAction::toolBar(arg1); + } + TQPopupMenu* protected_popupMenu(int arg1) { + return (TQPopupMenu*) TDEAction::popupMenu(arg1); + } + void protected_removeContainer(int arg1) { + TDEAction::removeContainer(arg1); + return; + } + int protected_findContainer(const TQWidget* arg1) { + return (int) TDEAction::findContainer(arg1); + } + int protected_findContainer(int arg1) { + return (int) TDEAction::findContainer(arg1); + } + void protected_plugMainWindowAccel(TQWidget* arg1) { + TDEAction::plugMainWindowAccel(arg1); + return; + } + void protected_addContainer(TQWidget* arg1,int arg2) { + TDEAction::addContainer(arg1,arg2); + return; + } + void protected_addContainer(TQWidget* arg1,TQWidget* arg2) { + TDEAction::addContainer(arg1,arg2); + return; + } + void protected_updateShortcut(int arg1) { + TDEAction::updateShortcut(arg1); + return; + } + void protected_updateShortcut(TQPopupMenu* arg1,int arg2) { + TDEAction::updateShortcut(arg1,arg2); + return; + } + void protected_updateGroup(int arg1) { + TDEAction::updateGroup(arg1); + return; + } + void protected_updateText(int arg1) { + TDEAction::updateText(arg1); + return; + } + void protected_updateEnabled(int arg1) { + TDEAction::updateEnabled(arg1); + return; + } + void protected_updateIconSet(int arg1) { + TDEAction::updateIconSet(arg1); + return; + } + void protected_updateIcon(int arg1) { + TDEAction::updateIcon(arg1); + return; + } + void protected_updateToolTip(int arg1) { + TDEAction::updateToolTip(arg1); + return; + } + void protected_updateWhatsThis(int arg1) { + TDEAction::updateWhatsThis(arg1); + return; + } + TQString protected_whatsThisWithIcon() { + return (TQString) TDEAction::whatsThisWithIcon(); + } + const KGuiItem& protected_guiItem() { + return (const KGuiItem&) TDEAction::guiItem(); + } + void protected_slotDestroyed() { + TDEAction::slotDestroyed(); + return; + } + void protected_slotKeycodeChanged() { + TDEAction::slotKeycodeChanged(); + return; + } + void protected_slotActivated() { + TDEAction::slotActivated(); + return; + } + void protected_slotPopupActivated() { + TDEAction::slotPopupActivated(); + return; + } + void protected_slotButtonClicked(int arg1,TQt::ButtonState arg2) { + TDEAction::slotButtonClicked(arg1,arg2); + return; + } + ~TDEActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","activate")) { + TDEAction::activate(); + } + return; + } + void slotDestroyed() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotActivated")) { + TDEAction::slotActivated(); + } + return; + } + void unplug(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { + TDEAction::unplug(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + bool hasIcon() { + return QtSupport::booleanDelegate(this,"hasIcon"); + } + 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 slotKeycodeChanged() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(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"); + } + void setIconSet(const TQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { + TDEAction::setIconSet(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + bool isEnabled() { + return QtSupport::booleanDelegate(this,"isEnabled"); + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_activate(JNIEnv* env, jobject obj) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->public_activate(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint id) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, representative)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_containerCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->containerCount(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_container(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->container((int) index), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_findContainer__I(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((const TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_getToolButtonID(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TDEActionJBridge::getToolButtonID(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_group(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->group(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_guiItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(KGuiItem *) &((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_guiItem(), "org.kde.koala.KGuiItem"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_hasIconSet(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIconSet(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_hasIcon(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIcon(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_iconSet__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_icon(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->icon(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isPlugged__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject container, jint id) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container, jobject _representative) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (const TQWidget*) QtSupport::getQt(env, _representative)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_isShortcutConfigurable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isShortcutConfigurable(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_itemId(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->itemId((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_kaccelCount(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->kaccelCount(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_parentCollection(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.kde.koala.TDEActionCollection"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_plainText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->plainText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_popupMenu(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_popupMenu((int) index), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_removeContainer(JNIEnv* env, jobject obj, jint index) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_removeContainer((int) index); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_representative(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setDisabled(JNIEnv* env, jobject obj, jboolean disable) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->setDisabled((bool) disable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setGroup(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setIcon(JNIEnv* env, jobject obj, jstring icon) +{ +static TQString* _qstring_icon = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setShortcutConfigurable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutConfigurable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEAction_setShortcut(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setText(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDEAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_shortcutDefault(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_shortcutText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->shortcutText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_shortcut(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_slotActivated(JNIEnv* env, jobject obj) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_slotButtonClicked(JNIEnv* env, jobject obj, jint arg1, jint state) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotButtonClicked((int) arg1, (TQt::ButtonState) state); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_slotDestroyed(JNIEnv* env, jobject obj) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotDestroyed(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_slotKeycodeChanged(JNIEnv* env, jobject obj) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotKeycodeChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_slotPopupActivated(JNIEnv* env, jobject obj) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotPopupActivated(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_statusText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->statusText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEAction_toolBar(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.kde.koala.TDEToolBar"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_toolTip(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->toolTip(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_unplugAll(JNIEnv* env, jobject obj) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->unplugAll(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_unplug(JNIEnv* env, jobject obj, jobject w) +{ + ((TDEAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateEnabled(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateEnabled((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateGroup(JNIEnv* env, jobject obj, jint id) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateGroup((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateIconSet(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIconSet((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateIcon(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIcon((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateShortcut__I(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject menu, jint id) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((TQPopupMenu*) QtSupport::getQt(env, menu), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateText(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateText((int) i); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateToolTip(JNIEnv* env, jobject obj, jint id) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateToolTip((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEAction_updateWhatsThis(JNIEnv* env, jobject obj, jint i) +{ + ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateWhatsThis((int) i); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_whatsThisWithIcon(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEAction_whatsThis(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->whatsThis(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/kdejava/koala/kdejava/TDEAction.h b/kdejava/koala/kdejava/TDEAction.h new file mode 100644 index 00000000..b6ce35c5 --- /dev/null +++ b/kdejava/koala/kdejava/TDEAction.h @@ -0,0 +1,95 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEAction__ +#define __org_kde_koala_TDEAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplug (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_container (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_itemId (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_representative (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_containerCount (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_kaccelCount (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIcon (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIconSet (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_plainText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_text (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcut (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcutDefault (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_shortcutText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isShortcutConfigurable (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_group (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThis (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_toolTip (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_icon (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_parentCollection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplugAll (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_statusText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_setShortcut (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setGroup (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setWhatsThis (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setToolTip (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIcon (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setDisabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutConfigurable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_activate (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_getToolButtonID (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_toolBar (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_popupMenu (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_removeContainer (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_plugMainWindowAccel (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateGroup (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateEnabled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIconSet (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIcon (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateToolTip (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateWhatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThisWithIcon (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_guiItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotDestroyed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotKeycodeChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotPopupActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotButtonClicked (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEAction__ */ diff --git a/kdejava/koala/kdejava/TDEActionCollection.cpp b/kdejava/koala/kdejava/TDEActionCollection.cpp new file mode 100644 index 00000000..82d9c288 --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionCollection.cpp @@ -0,0 +1,437 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactioncollection.h> +#include <tqstring.h> +#include <tqstringlist.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEActionCollection.h> + +class TDEActionCollectionJBridge : public TDEActionCollection +{ +public: + TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; + TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; + TDEActionCollectionJBridge(TQWidget* arg1) : TDEActionCollection(arg1) {}; + TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3,TDEInstance* arg4) : TDEActionCollection(arg1,arg2,arg3,arg4) {}; + TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; + TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2) : TDEActionCollection(arg1,arg2) {}; + TDEActionCollectionJBridge(const TDEActionCollection& arg1) : TDEActionCollection(arg1) {}; + TDEActionCollectionJBridge(TQObject* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; + TDEActionCollectionJBridge(TQObject* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; + TDEActionCollectionJBridge(TQObject* arg1) : TDEActionCollection(arg1) {}; + ~TDEActionCollectionJBridge() {QtSupport::qtKeyDeleted(this);} + void setWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TDEActionCollection::setWidget(arg1); + } + 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 removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionCollection",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_action__I(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((int) index), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring classname) +{ +static TQCString* _qstring_name = 0; +static TQCString* _qstring_classname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_addDocCollection(JNIEnv* env, jobject obj, jobject pDoc) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->addDocCollection((TDEActionCollection*) QtSupport::getQt(env, pDoc)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_builderTDEAccel(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->builderTDEAccel(), "org.kde.koala.TDEAccel"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionCollection_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEActionCollection*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_clear(JNIEnv* env, jobject obj) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_connectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->connectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEActionCollection_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEActionCollection*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_disconnectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->disconnectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEActionCollection_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionCollection*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEActionCollection*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_groups(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TDEActionCollection*) QtSupport::getQt(env, obj))->groups(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_highlightingEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->highlightingEnabled(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_insert(JNIEnv* env, jobject obj, jobject action) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, action)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_instance(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isAutoConnectShortcuts(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_isEmpty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isEmpty(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_kaccel(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->kaccel(), "org.kde.koala.TDEAccel"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject copy) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, copy))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((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_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) 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_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (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_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name, jobject instance) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEActionCollection *) &((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+=((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1)), "org.kde.koala.TDEActionCollection"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_op_1plus(JNIEnv* env, jobject obj, jobject arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEActionCollection(((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1))), "org.kde.koala.TDEActionCollection", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_parentGUIClient(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->parentGUIClient(), "org.kde.koala.KXMLGUIClientInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_readShortcutSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_remove(JNIEnv* env, jobject obj, jobject action) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, action)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->setAutoConnectShortcuts((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->setHighlightingEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_setInstance(JNIEnv* env, jobject obj, jobject instance) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionCollection_setWidget(JNIEnv* env, jobject obj, jobject widget) +{ + ((TDEActionCollection*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, widget)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionCollection_take(JNIEnv* env, jobject obj, jobject action) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->take((TDEAction*) QtSupport::getQt(env, action)), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEActionCollection.h b/kdejava/koala/kdejava/TDEActionCollection.h new file mode 100644 index 00000000..967038ad --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionCollection.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEActionCollection__ +#define __org_kde_koala_TDEActionCollection__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionCollection_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_addDocCollection (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_kaccel (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_builderTDEAccel (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionCollection_count (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isEmpty (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_groups (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setInstance (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_instance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_highlightingEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_connectHighlight (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_disconnectHighlight (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_parentGUIClient (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_insert (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_take (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus_1assign (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEActionCollection__ */ diff --git a/kdejava/koala/kdejava/TDEActionMenu.cpp b/kdejava/koala/kdejava/TDEActionMenu.cpp new file mode 100644 index 00000000..e26e475a --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionMenu.cpp @@ -0,0 +1,367 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqiconset.h> +#include <kactionclasses.h> +#include <tqstring.h> +#include <tqpoint.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEActionMenu.h> + +class TDEActionMenuJBridge : public TDEActionMenu +{ +public: + TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; + TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2) : TDEActionMenu(arg1,arg2) {}; + TDEActionMenuJBridge(const TQString& arg1) : TDEActionMenu(arg1) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEActionMenu(arg1,arg2) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; + TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2) : TDEActionMenu(arg1,arg2) {}; + TDEActionMenuJBridge(TQObject* arg1,const char* arg2) : TDEActionMenu(arg1,arg2) {}; + TDEActionMenuJBridge(TQObject* arg1) : TDEActionMenu(arg1) {}; + TDEActionMenuJBridge() : TDEActionMenu() {}; + ~TDEActionMenuJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","activate")) { + TDEAction::activate(); + } + return; + } + void slotDestroyed() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void remove(TDEAction* arg1) { + if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { + TDEActionMenu::remove(arg1); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotActivated")) { + TDEAction::slotActivated(); + } + return; + } + void unplug(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { + TDEAction::unplug(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + bool hasIcon() { + return QtSupport::booleanDelegate(this,"hasIcon"); + } + 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 slotKeycodeChanged() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(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"); + } + void setIconSet(const TQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { + TDEAction::setIconSet(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionMenu",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + bool isEnabled() { + return QtSupport::booleanDelegate(this,"isEnabled"); + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionMenu_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEActionMenu*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionMenu_delayed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->delayed(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEActionMenu_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionMenu*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEActionMenu*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1), (int) index); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionMenu_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionMenu_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__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 TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__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 TDEActionMenuJBridge((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_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, 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 TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (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_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_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 TDEActionMenuJBridge((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_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, 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 TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (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_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, 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 TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionMenuJBridge((TQObject*) 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_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionMenu_popupMenu(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_popup(JNIEnv* env, jobject obj, jobject global) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, global)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_remove(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_setDelayed(JNIEnv* env, jobject obj, jboolean _delayed) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->setDelayed((bool) _delayed); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionMenu_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) +{ + ((TDEActionMenu*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionMenu_stickyMenu(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->stickyMenu(); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEActionMenu.h b/kdejava/koala/kdejava/TDEActionMenu.h new file mode 100644 index 00000000..717eda01 --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionMenu.h @@ -0,0 +1,46 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEActionMenu__ +#define __org_kde_koala_TDEActionMenu__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionMenu_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_popupMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_popup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_delayed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setDelayed (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_stickyMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setStickyMenu (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEActionMenu__ */ diff --git a/kdejava/koala/kdejava/TDEActionSeparator.cpp b/kdejava/koala/kdejava/TDEActionSeparator.cpp new file mode 100644 index 00000000..25cd830c --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionSeparator.cpp @@ -0,0 +1,181 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEActionSeparator.h> + +class TDEActionSeparatorJBridge : public TDEActionSeparator +{ +public: + TDEActionSeparatorJBridge(TQObject* arg1,const char* arg2) : TDEActionSeparator(arg1,arg2) {}; + TDEActionSeparatorJBridge(TQObject* arg1) : TDEActionSeparator(arg1) {}; + TDEActionSeparatorJBridge() : TDEActionSeparator() {}; + ~TDEActionSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","activate")) { + TDEAction::activate(); + } + return; + } + void slotDestroyed() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotActivated")) { + TDEAction::slotActivated(); + } + return; + } + void unplug(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { + TDEAction::unplug(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + bool hasIcon() { + return QtSupport::booleanDelegate(this,"hasIcon"); + } + 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 slotKeycodeChanged() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(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"); + } + void setIconSet(const TQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { + TDEAction::setIconSet(arg1); + } + return; + } + bool eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionSeparator",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } + bool isEnabled() { + return QtSupport::booleanDelegate(this,"isEnabled"); + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionSeparator_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEActionSeparator*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionSeparator_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEActionSeparator_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionSeparator_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionSeparator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEActionSeparator*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionSeparator_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionSeparator_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge((TQObject*) 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_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEActionSeparator.h b/kdejava/koala/kdejava/TDEActionSeparator.h new file mode 100644 index 00000000..fdd2f483 --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionSeparator.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEActionSeparator__ +#define __org_kde_koala_TDEActionSeparator__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionSeparator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionSeparator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionSeparator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEActionSeparator__ */ diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.cpp b/kdejava/koala/kdejava/TDEActionShortcutList.cpp new file mode 100644 index 00000000..dc1fb783 --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionShortcutList.cpp @@ -0,0 +1,145 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionshortcutlist.h> +#include <tqstring.h> +#include <tqvariant.h> +#include <kshortcutlist.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEActionShortcutList.h> + +class TDEActionShortcutListJBridge : public TDEActionShortcutList +{ +public: + TDEActionShortcutListJBridge(TDEActionCollection* arg1) : TDEActionShortcutList(arg1) {}; + ~TDEActionShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionShortcutList_action(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->action((uint) arg1), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEActionShortcutList_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionShortcutList_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEActionShortcutList_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionShortcutList_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDEActionShortcutList*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEActionShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionShortcutList_instance(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint arg1) +{ + jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) arg1); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionShortcutList_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionShortcutList_label(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->label((uint) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionShortcutList_name(JNIEnv* env, jobject obj, jint i) +{ + TQString _qstring; + _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->name((uint) i); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList(JNIEnv* env, jobject obj, jobject arg1) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEActionShortcutListJBridge((TDEActionCollection*) QtSupport::getQt(env, arg1))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionShortcutList_save(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->save(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) +{ + jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEActionShortcutList_setShortcut(JNIEnv* env, jobject obj, jint arg1, jobject arg2) +{ + jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) arg1, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg2)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) arg1), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEActionShortcutList_shortcut(JNIEnv* env, jobject obj, jint arg1) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) arg1), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEActionShortcutList_whatsThis(JNIEnv* env, jobject obj, jint arg1) +{ + TQString _qstring; + _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) arg1); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.h b/kdejava/koala/kdejava/TDEActionShortcutList.h new file mode 100644 index 00000000..b2d3a82a --- /dev/null +++ b/kdejava/koala/kdejava/TDEActionShortcutList.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEActionShortcutList__ +#define __org_kde_koala_TDEActionShortcutList__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionShortcutList_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_name (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_label (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcut (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isConfigurable (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_instance (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_getOther (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_save (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_action (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEActionShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEApplication.cpp b/kdejava/koala/kdejava/TDEApplication.cpp index 7a08d58e..48d4883c 100644 --- a/kdejava/koala/kdejava/TDEApplication.cpp +++ b/kdejava/koala/kdejava/TDEApplication.cpp @@ -137,10 +137,10 @@ static TQStringList* _qlist_menuIds = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeKAction(JNIEnv* env, jobject obj, jstring action) +Java_org_kde_koala_TDEApplication_authorizeTDEAction(JNIEnv* env, jobject obj, jstring action) { static TQCString* _qstring_action = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeKAction((const char*) QtSupport::toCharString(env, action, &_qstring_action)); + jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeTDEAction((const char*) QtSupport::toCharString(env, action, &_qstring_action)); return xret; } diff --git a/kdejava/koala/kdejava/TDEApplication.h b/kdejava/koala/kdejava/TDEApplication.h index 66f2f420..8d38bcf0 100644 --- a/kdejava/koala/kdejava/TDEApplication.h +++ b/kdejava/koala/kdejava/TDEApplication.h @@ -67,7 +67,7 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUser extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_geometryArgument (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installKDEPropertyMap (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeKAction (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeTDEAction (JNIEnv *env, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_allowURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModule (JNIEnv *env, jobject, jstring); diff --git a/kdejava/koala/kdejava/TDEFontAction.cpp b/kdejava/koala/kdejava/TDEFontAction.cpp new file mode 100644 index 00000000..f528a0ca --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontAction.cpp @@ -0,0 +1,539 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEFontAction.h> + +class TDEFontActionJBridge : public TDEFontAction +{ +public: + TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; + TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontAction(arg1,arg2,arg3) {}; + TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontAction(arg1,arg2) {}; + TDEFontActionJBridge(const TQString& arg1) : TDEFontAction(arg1) {}; + TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontAction(arg1,arg2) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; + TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3) : TDEFontAction(arg1,arg2,arg3) {}; + TDEFontActionJBridge(TQObject* arg1,const char* arg2) : TDEFontAction(arg1,arg2) {}; + TDEFontActionJBridge(TQObject* arg1) : TDEFontAction(arg1) {}; + TDEFontActionJBridge() : TDEFontAction() {}; + ~TDEFontActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","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.TDEFontAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","clear")) { + TDESelectAction::clear(); + } + 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.TDEFontAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotActivated")) { + TDESelectAction::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; + } + bool isEditable() { + return QtSupport::booleanDelegate(this,"isEditable"); + } + 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.TDEFontAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEFontAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEFontAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEFontAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEFontAction_font(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->font(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEFontAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEFontAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, 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 TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontAction_newTDEFontAction__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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontActionJBridge((TQObject*) 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_TDEFontAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) +{ + jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) +{ + jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1), (int) index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontAction_setFont(JNIEnv* env, jobject obj, jstring family) +{ +static TQString* _qstring_family = 0; + ((TDEFontAction*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEFontAction.h b/kdejava/koala/kdejava/TDEFontAction.h new file mode 100644 index 00000000..6dedc5b8 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontAction.h @@ -0,0 +1,56 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontAction__ +#define __org_kde_koala_TDEFontAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_font (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_setFont (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontAction__ */ diff --git a/kdejava/koala/kdejava/KFontChooser.cpp b/kdejava/koala/kdejava/TDEFontChooser.cpp index 307136d8..dc695495 100644 --- a/kdejava/koala/kdejava/KFontChooser.cpp +++ b/kdejava/koala/kdejava/TDEFontChooser.cpp @@ -9,21 +9,21 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KFontChooser.h> +#include <kdejava/TDEFontChooser.h> -class KFontChooserJBridge : public KFontChooser +class TDEFontChooserJBridge : public TDEFontChooser { public: - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7,TQButton::ToggleState* arg8) : KFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7) : KFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6) : KFontChooser(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5) : KFontChooser(arg1,arg2,arg3,arg4,arg5) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4) : KFontChooser(arg1,arg2,arg3,arg4) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KFontChooser(arg1,arg2,arg3) {}; - KFontChooserJBridge(TQWidget* arg1,const char* arg2) : KFontChooser(arg1,arg2) {}; - KFontChooserJBridge(TQWidget* arg1) : KFontChooser(arg1) {}; - KFontChooserJBridge() : KFontChooser() {}; - ~KFontChooserJBridge() {QtSupport::qtKeyDeleted(this);} + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4) : TDEFontChooser(arg1,arg2,arg3,arg4) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontChooser(arg1,arg2,arg3) {}; + TDEFontChooserJBridge(TQWidget* arg1,const char* arg2) : TDEFontChooser(arg1,arg2) {}; + TDEFontChooserJBridge(TQWidget* arg1) : TDEFontChooser(arg1) {}; + TDEFontChooserJBridge() : TDEFontChooser() {}; + ~TDEFontChooserJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -55,7 +55,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -67,7 +67,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","show")) { TQWidget::show(); } return; @@ -79,7 +79,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","setFocus")) { TQWidget::setFocus(); } return; @@ -97,7 +97,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","hide")) { TQWidget::hide(); } return; @@ -133,7 +133,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -151,13 +151,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showMaximized")) { TQWidget::showMaximized(); } return; @@ -256,13 +256,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showNormal")) { TQWidget::showNormal(); } return; @@ -298,7 +298,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","adjustSize")) { TQWidget::adjustSize(); } return; @@ -346,7 +346,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFontChooser",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontChooser",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -359,7 +359,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontChooser","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showMinimized")) { TQWidget::showMinimized(); } return; @@ -367,267 +367,267 @@ public: }; JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontChooser_backgroundColor(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_backgroundColor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KFontChooser*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontChooser_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KFontChooser*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontChooser_color(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_color(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KFontChooser*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KFontChooser_finalize(env, obj); + Java_org_kde_koala_TDEFontChooser_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_enableColumn(JNIEnv* env, jobject obj, jint column, jboolean state) +Java_org_kde_koala_TDEFontChooser_enableColumn(JNIEnv* env, jobject obj, jint column, jboolean state) { - ((KFontChooser*) QtSupport::getQt(env, obj))->enableColumn((int) column, (bool) state); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->enableColumn((int) column, (bool) state); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFontChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFontChooser*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEFontChooser*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontChooser_fontDiffFlags(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_fontDiffFlags(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KFontChooser*) QtSupport::getQt(env, obj))->fontDiffFlags(); + jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->fontDiffFlags(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontChooser_font(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_font(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KFontChooser*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontChooser*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_getFontList(JNIEnv* env, jclass cls, jobjectArray list, jint fontListCriteria) +Java_org_kde_koala_TDEFontChooser_getFontList(JNIEnv* env, jclass cls, jobjectArray list, jint fontListCriteria) { (void) cls; static TQStringList* _qlist_list = 0; - KFontChooserJBridge::getFontList((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (uint) fontListCriteria); + TDEFontChooserJBridge::getFontList((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (uint) fontListCriteria); return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontChooser_getXLFD(JNIEnv* env, jclass cls, jobject theFont) +Java_org_kde_koala_TDEFontChooser_getXLFD(JNIEnv* env, jclass cls, jobject theFont) { TQString _qstring; (void) cls; - _qstring = KFontChooserJBridge::getXLFD((const TQFont&)*(const TQFont*) QtSupport::getQt(env, theFont)); + _qstring = TDEFontChooserJBridge::getXLFD((const TQFont&)*(const TQFont*) QtSupport::getQt(env, theFont)); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontChooser_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontChooser_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge()); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) 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_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontList = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList))); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontList = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame)); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontList = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize)); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontList = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff)); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_newKFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff, jint sizeIsRelativeState) +Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff, jint sizeIsRelativeState) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontList = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); + QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontChooser_sampleText(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_sampleText(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KFontChooser*) QtSupport::getQt(env, obj))->sampleText(); + _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->sampleText(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setBackgroundColor(JNIEnv* env, jobject obj, jobject col) +Java_org_kde_koala_TDEFontChooser_setBackgroundColor(JNIEnv* env, jobject obj, jobject col) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setColor(JNIEnv* env, jobject obj, jobject col) +Java_org_kde_koala_TDEFontChooser_setColor(JNIEnv* env, jobject obj, jobject col) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) +Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) +Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setSampleBoxVisible(JNIEnv* env, jobject obj, jboolean visible) +Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible(JNIEnv* env, jobject obj, jboolean visible) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setSampleBoxVisible((bool) visible); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleBoxVisible((bool) visible); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setSampleText(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_koala_TDEFontChooser_setSampleText(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; - ((KFontChooser*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontChooser_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) +Java_org_kde_koala_TDEFontChooser_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) { - ((KFontChooser*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); + ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontChooser_sizeHint(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KFontChooser*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontChooser_sizeIsRelative(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontChooser_sizeIsRelative(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KFontChooser*) QtSupport::getQt(env, obj))->sizeIsRelative(); + jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeIsRelative(); return xret; } diff --git a/kdejava/koala/kdejava/TDEFontChooser.h b/kdejava/koala/kdejava/TDEFontChooser.h new file mode 100644 index 00000000..b7bd13d9 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontChooser.h @@ -0,0 +1,49 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontChooser__ +#define __org_kde_koala_TDEFontChooser__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_enableColumn (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_fontDiffFlags (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_font (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_color (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setBackgroundColor (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_backgroundColor (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSizeIsRelative (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_sizeIsRelative (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_sampleText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_getXLFD (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_getFontList (JNIEnv *env, jclass, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontChooser_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontChooser__ */ diff --git a/kdejava/koala/kdejava/KFontCombo.cpp b/kdejava/koala/kdejava/TDEFontCombo.cpp index fd1959e5..54de157e 100644 --- a/kdejava/koala/kdejava/KFontCombo.cpp +++ b/kdejava/koala/kdejava/TDEFontCombo.cpp @@ -5,24 +5,24 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KFontCombo.h> +#include <kdejava/TDEFontCombo.h> -class KFontComboJBridge : public KFontCombo +class TDEFontComboJBridge : public TDEFontCombo { public: - KFontComboJBridge(TQWidget* arg1,const char* arg2) : KFontCombo(arg1,arg2) {}; - KFontComboJBridge(TQWidget* arg1) : KFontCombo(arg1) {}; - KFontComboJBridge(const TQStringList& arg1,TQWidget* arg2,const char* arg3) : KFontCombo(arg1,arg2,arg3) {}; - KFontComboJBridge(const TQStringList& arg1,TQWidget* arg2) : KFontCombo(arg1,arg2) {}; + TDEFontComboJBridge(TQWidget* arg1,const char* arg2) : TDEFontCombo(arg1,arg2) {}; + TDEFontComboJBridge(TQWidget* arg1) : TDEFontCombo(arg1) {}; + TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2,const char* arg3) : TDEFontCombo(arg1,arg2,arg3) {}; + TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2) : TDEFontCombo(arg1,arg2) {}; void protected_updateFonts() { - KFontCombo::updateFonts(); + TDEFontCombo::updateFonts(); return; } void protected_slotModified(int arg1) { - KFontCombo::slotModified(arg1); + TDEFontCombo::slotModified(arg1); return; } - ~KFontComboJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEFontComboJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -66,7 +66,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -78,7 +78,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","show")) { TQWidget::show(); } return; @@ -90,7 +90,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","setFocus")) { TQWidget::setFocus(); } return; @@ -132,7 +132,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -150,13 +150,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showMaximized")) { TQWidget::showMaximized(); } return; @@ -255,7 +255,7 @@ public: return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showNormal")) { TQWidget::showNormal(); } return; @@ -273,7 +273,7 @@ public: return; } void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","popup")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","popup")) { TQComboBox::popup(); } return; @@ -303,7 +303,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","adjustSize")) { TQWidget::adjustSize(); } return; @@ -357,7 +357,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFontCombo",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontCombo",object,event)) { return KComboBox::eventFilter(object,event); } else { return TRUE; @@ -370,7 +370,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontCombo","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showMinimized")) { TQWidget::showMinimized(); } return; @@ -378,208 +378,208 @@ public: }; JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_bold(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_bold(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KFontCombo*) QtSupport::getQt(env, obj))->bold(); + jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->bold(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontCombo_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KFontCombo*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontCombo_currentFont(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_currentFont(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KFontCombo*) QtSupport::getQt(env, obj))->currentFont(); + _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->currentFont(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_displayFonts(JNIEnv* env, jclass cls) +Java_org_kde_koala_TDEFontCombo_displayFonts(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) KFontComboJBridge::displayFonts(); + jboolean xret = (jboolean) TDEFontComboJBridge::displayFonts(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KFontCombo_finalize(env, obj); + Java_org_kde_koala_TDEFontCombo_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFontCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFontCombo*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEFontCombo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_italic(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_italic(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KFontCombo*) QtSupport::getQt(env, obj))->italic(); + jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->italic(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontCombo_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_newKFontCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_newKFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEFontComboJBridge((TQWidget*) 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_KFontCombo_newKFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent) +Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent) { static TQStringList* _qlist_fonts = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_newKFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent, jstring name) +Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent, jstring name) { static TQStringList* _qlist_fonts = 0; static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) 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_KFontCombo_pointSize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_pointSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KFontCombo*) QtSupport::getQt(env, obj))->size(); + jint xret = (jint) ((TDEFontCombo*) QtSupport::getQt(env, obj))->size(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setBold(JNIEnv* env, jobject obj, jboolean bold) +Java_org_kde_koala_TDEFontCombo_setBold(JNIEnv* env, jobject obj, jboolean bold) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setBold((bool) bold); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setBold((bool) bold); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setCurrentFont(JNIEnv* env, jobject obj, jstring family) +Java_org_kde_koala_TDEFontCombo_setCurrentFont(JNIEnv* env, jobject obj, jstring family) { static TQString* _qstring_family = 0; - ((KFontCombo*) QtSupport::getQt(env, obj))->setCurrentFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setCurrentItem(JNIEnv* env, jobject obj, jint i) +Java_org_kde_koala_TDEFontCombo_setCurrentItem(JNIEnv* env, jobject obj, jint i) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setFonts(JNIEnv* env, jobject obj, jobjectArray fonts) +Java_org_kde_koala_TDEFontCombo_setFonts(JNIEnv* env, jobject obj, jobjectArray fonts) { static TQStringList* _qlist_fonts = 0; - ((KFontCombo*) QtSupport::getQt(env, obj))->setFonts((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts)); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setFonts((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setItalic(JNIEnv* env, jobject obj, jboolean italic) +Java_org_kde_koala_TDEFontCombo_setItalic(JNIEnv* env, jobject obj, jboolean italic) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setItalic((bool) italic); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setItalic((bool) italic); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setSize(JNIEnv* env, jobject obj, jint size) +Java_org_kde_koala_TDEFontCombo_setSize(JNIEnv* env, jobject obj, jint size) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setSize((int) size); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setSize((int) size); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setStrikeOut(JNIEnv* env, jobject obj, jboolean strikeOut) +Java_org_kde_koala_TDEFontCombo_setStrikeOut(JNIEnv* env, jobject obj, jboolean strikeOut) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setStrikeOut((bool) strikeOut); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setStrikeOut((bool) strikeOut); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_setUnderline(JNIEnv* env, jobject obj, jboolean underline) +Java_org_kde_koala_TDEFontCombo_setUnderline(JNIEnv* env, jobject obj, jboolean underline) { - ((KFontCombo*) QtSupport::getQt(env, obj))->setUnderline((bool) underline); + ((TDEFontCombo*) QtSupport::getQt(env, obj))->setUnderline((bool) underline); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_slotModified(JNIEnv* env, jobject obj, jint i) +Java_org_kde_koala_TDEFontCombo_slotModified(JNIEnv* env, jobject obj, jint i) { - ((KFontComboJBridge*) QtSupport::getQt(env, obj))->protected_slotModified((int) i); + ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_slotModified((int) i); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_strikeOut(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_strikeOut(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KFontCombo*) QtSupport::getQt(env, obj))->strikeOut(); + jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->strikeOut(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontCombo_underline(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_underline(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KFontCombo*) QtSupport::getQt(env, obj))->underline(); + jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->underline(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontCombo_updateFonts(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontCombo_updateFonts(JNIEnv* env, jobject obj) { - ((KFontComboJBridge*) QtSupport::getQt(env, obj))->protected_updateFonts(); + ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_updateFonts(); return; } diff --git a/kdejava/koala/kdejava/TDEFontCombo.h b/kdejava/koala/kdejava/TDEFontCombo.h new file mode 100644 index 00000000..28b850de --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontCombo.h @@ -0,0 +1,44 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontCombo__ +#define __org_kde_koala_TDEFontCombo__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontCombo_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setFonts (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentFont (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_currentFont (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setBold (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_bold (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setItalic (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_italic (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setUnderline (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_underline (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setStrikeOut (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_strikeOut (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontCombo_pointSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_displayFonts (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_updateFonts (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_slotModified (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontCombo__ */ diff --git a/kdejava/koala/kdejava/KFontDialog.cpp b/kdejava/koala/kdejava/TDEFontDialog.cpp index f41dccbb..ac4cb392 100644 --- a/kdejava/koala/kdejava/KFontDialog.cpp +++ b/kdejava/koala/kdejava/TDEFontDialog.cpp @@ -7,21 +7,21 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KFontDialog.h> +#include <kdejava/TDEFontDialog.h> -class KFontDialogJBridge : public KFontDialog +class TDEFontDialogJBridge : public TDEFontDialog { public: - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7,TQButton::ToggleState* arg8) : KFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7) : KFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6) : KFontDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5) : KFontDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : KFontDialog(arg1,arg2,arg3,arg4) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KFontDialog(arg1,arg2,arg3) {}; - KFontDialogJBridge(TQWidget* arg1,const char* arg2) : KFontDialog(arg1,arg2) {}; - KFontDialogJBridge(TQWidget* arg1) : KFontDialog(arg1) {}; - KFontDialogJBridge() : KFontDialog() {}; - ~KFontDialogJBridge() {QtSupport::qtKeyDeleted(this);} + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEFontDialog(arg1,arg2,arg3,arg4) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontDialog(arg1,arg2,arg3) {}; + TDEFontDialogJBridge(TQWidget* arg1,const char* arg2) : TDEFontDialog(arg1,arg2) {}; + TDEFontDialogJBridge(TQWidget* arg1) : TDEFontDialog(arg1) {}; + TDEFontDialogJBridge() : TDEFontDialog() {}; + ~TDEFontDialogJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -29,7 +29,7 @@ public: return; } void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotDetails")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDetails")) { KDialogBase::slotDetails(); } return; @@ -59,25 +59,25 @@ public: return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","accept")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","accept")) { TQDialog::accept(); } return; } void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotHelp")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotHelp")) { KDialogBase::slotHelp(); } return; } void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotNo")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotNo")) { KDialogBase::slotNo(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -95,7 +95,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setFocus")) { TQWidget::setFocus(); } return; @@ -113,7 +113,7 @@ public: return; } void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotDefault")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDefault")) { KDialogBase::slotDefault(); } return; @@ -137,7 +137,7 @@ public: return; } void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotUser3")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser3")) { KDialogBase::slotUser3(); } return; @@ -155,7 +155,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -173,13 +173,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","polish")) { KDialog::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showMaximized")) { TQWidget::showMaximized(); } return; @@ -230,19 +230,19 @@ public: return; } void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotApply")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotApply")) { KDialogBase::slotApply(); } return; } void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotClose")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotClose")) { KDialogBase::slotClose(); } return; } void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotCancel")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotCancel")) { KDialogBase::slotCancel(); } return; @@ -296,13 +296,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showNormal")) { TQWidget::showNormal(); } return; @@ -344,7 +344,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","adjustSize")) { KDialogBase::adjustSize(); } return; @@ -356,7 +356,7 @@ public: return; } void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotUser1")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser1")) { KDialogBase::slotUser1(); } return; @@ -380,13 +380,13 @@ public: return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","reject")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","reject")) { TQDialog::reject(); } return; } void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotTry")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotTry")) { KDialogBase::slotTry(); } return; @@ -410,25 +410,25 @@ public: return; } void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotYes")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotYes")) { KDialogBase::slotYes(); } return; } void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotOk")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotOk")) { KDialogBase::slotOk(); } return; } void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","slotUser2")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser2")) { KDialogBase::slotUser2(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontDialog","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showMinimized")) { TQWidget::showMinimized(); } return; @@ -436,316 +436,316 @@ public: }; JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontDialog_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KFontDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEFontDialog*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KFontDialog_finalize(env, obj); + Java_org_kde_koala_TDEFontDialog_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFontDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFontDialog*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEFontDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontDialog_font(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_font(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KFontDialog*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontDialog*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString) +Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString) { (void) cls; static TQString* _qstring_theString = 0; - jint xret = (jint) KFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString)); + jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString)); QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed) +Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed) { (void) cls; static TQString* _qstring_theString = 0; - jint xret = (jint) KFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed); + jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed); QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent) +Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent) { (void) cls; static TQString* _qstring_theString = 0; - jint xret = (jint) KFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame) +Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame) { (void) cls; static TQString* _qstring_theString = 0; - jint xret = (jint) KFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); + jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) +Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) { (void) cls; static TQString* _qstring_theString = 0; - jint xret = (jint) KFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); + jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags) +Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags) { (void) cls; int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) KFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags); + jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags); env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed) +Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed) { (void) cls; int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) KFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed); + jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed); env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent) +Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent) { (void) cls; int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) KFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame) +Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame) { (void) cls; int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) KFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); + jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) +Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) { (void) cls; int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) KFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); + jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject theFont) +Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject theFont) { (void) cls; - jint xret = (jint) KFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont)); + jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed) +Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed) { (void) cls; - jint xret = (jint) KFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed); + jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent) +Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent) { (void) cls; - jint xret = (jint) KFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame) +Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame) { (void) cls; - jint xret = (jint) KFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); + jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) +Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) { (void) cls; - jint xret = (jint) KFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); + jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontDialog_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontDialog_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge()); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) 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_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal)); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontlist = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist))); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontlist = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame)); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontlist = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff)); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_newKFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff, jint sizeIsRelativeState) +Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff, jint sizeIsRelativeState) { static TQCString* _qstring_name = 0; static TQStringList* _qlist_fontlist = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); + QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) +Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) { - ((KFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) +Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) { - ((KFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); + ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontDialog_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) +Java_org_kde_koala_TDEFontDialog_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) { - ((KFontDialog*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); + ((TDEFontDialog*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KFontDialog_sizeIsRelative(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontDialog_sizeIsRelative(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KFontDialog*) QtSupport::getQt(env, obj))->sizeIsRelative(); + jint xret = (jint) ((TDEFontDialog*) QtSupport::getQt(env, obj))->sizeIsRelative(); return xret; } diff --git a/kdejava/koala/kdejava/TDEFontDialog.h b/kdejava/koala/kdejava/TDEFontDialog.h new file mode 100644 index 00000000..c74783c1 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontDialog.h @@ -0,0 +1,52 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontDialog__ +#define __org_kde_koala_TDEFontDialog__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontDialog_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_font (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setSizeIsRelative (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_sizeIsRelative (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ (JNIEnv *env, jclass, jobject, jintArray, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I (JNIEnv *env, jclass, jobject, jintArray); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontDialog_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontDialog__ */ diff --git a/kdejava/koala/kdejava/KFontRequester.cpp b/kdejava/koala/kdejava/TDEFontRequester.cpp index 56314abc..2b6a7282 100644 --- a/kdejava/koala/kdejava/KFontRequester.cpp +++ b/kdejava/koala/kdejava/TDEFontRequester.cpp @@ -5,28 +5,28 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KFontRequester.h> +#include <kdejava/TDEFontRequester.h> -class KFontRequesterJBridge : public KFontRequester +class TDEFontRequesterJBridge : public TDEFontRequester { public: - KFontRequesterJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KFontRequester(arg1,arg2,arg3) {}; - KFontRequesterJBridge(TQWidget* arg1,const char* arg2) : KFontRequester(arg1,arg2) {}; - KFontRequesterJBridge(TQWidget* arg1) : KFontRequester(arg1) {}; - KFontRequesterJBridge() : KFontRequester() {}; + TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontRequester(arg1,arg2,arg3) {}; + TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2) : TDEFontRequester(arg1,arg2) {}; + TDEFontRequesterJBridge(TQWidget* arg1) : TDEFontRequester(arg1) {}; + TDEFontRequesterJBridge() : TDEFontRequester() {}; void protected_displaySampleText() { - KFontRequester::displaySampleText(); + TDEFontRequester::displaySampleText(); return; } void protected_setToolTip() { - KFontRequester::setToolTip(); + TDEFontRequester::setToolTip(); return; } void protected_buttonClicked() { - KFontRequester::buttonClicked(); + TDEFontRequester::buttonClicked(); return; } - ~KFontRequesterJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEFontRequesterJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -58,7 +58,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -70,7 +70,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","show")) { TQWidget::show(); } return; @@ -82,7 +82,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","setFocus")) { TQWidget::setFocus(); } return; @@ -100,7 +100,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","hide")) { TQWidget::hide(); } return; @@ -112,8 +112,8 @@ public: return; } void buttonClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","buttonClicked")) { - KFontRequester::buttonClicked(); + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","buttonClicked")) { + TDEFontRequester::buttonClicked(); } return; } @@ -142,7 +142,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -160,13 +160,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showMaximized")) { TQWidget::showMaximized(); } return; @@ -265,13 +265,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showNormal")) { TQWidget::showNormal(); } return; @@ -313,7 +313,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","adjustSize")) { TQWidget::adjustSize(); } return; @@ -361,7 +361,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFontRequester",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontRequester",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -374,7 +374,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFontRequester","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showMinimized")) { TQWidget::showMinimized(); } return; @@ -382,177 +382,177 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_buttonClicked(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_buttonClicked(JNIEnv* env, jobject obj) { - ((KFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); + ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontRequester_button(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_button(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQPushButton"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQPushButton"); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontRequester_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KFontRequester*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_displaySampleText(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_displaySampleText(JNIEnv* env, jobject obj) { - ((KFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_displaySampleText(); + ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_displaySampleText(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KFontRequester_finalize(env, obj); + Java_org_kde_koala_TDEFontRequester_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFontRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFontRequester*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEFontRequester*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontRequester_font(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_font(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KFontRequester*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontRequester*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontRequester_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFontRequester_isFixedOnly(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_isFixedOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KFontRequester*) QtSupport::getQt(env, obj))->isFixedOnly(); + jboolean xret = (jboolean) ((TDEFontRequester*) QtSupport::getQt(env, obj))->isFixedOnly(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontRequester_label(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_label(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontRequester*) QtSupport::getQt(env, obj))->label(), "org.kde.qt.TQLabel"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->label(), "org.kde.qt.TQLabel"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFontRequester_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFontRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_newKFontRequester__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontRequesterJBridge()); + QtSupport::setQt(env, obj, new TDEFontRequesterJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) 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_KFontRequester_newKFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) +Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); + QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontRequester_sampleText(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_sampleText(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KFontRequester*) QtSupport::getQt(env, obj))->sampleText(); + _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->sampleText(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) +Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) { - ((KFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) +Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) { - ((KFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); + ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_setSampleText(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_koala_TDEFontRequester_setSampleText(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; - ((KFontRequester*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEFontRequester*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_setTitle(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_koala_TDEFontRequester_setTitle(JNIEnv* env, jobject obj, jstring title) { static TQString* _qstring_title = 0; - ((KFontRequester*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); + ((TDEFontRequester*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KFontRequester_setToolTip(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_setToolTip(JNIEnv* env, jobject obj) { - ((KFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_setToolTip(); + ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_setToolTip(); return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFontRequester_title(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEFontRequester_title(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KFontRequester*) QtSupport::getQt(env, obj))->title(); + _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->title(); return QtSupport::fromTQString(env, &_qstring); } diff --git a/kdejava/koala/kdejava/TDEFontRequester.h b/kdejava/koala/kdejava/TDEFontRequester.h new file mode 100644 index 00000000..91ad40b8 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontRequester.h @@ -0,0 +1,40 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontRequester__ +#define __org_kde_koala_TDEFontRequester__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_font (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isFixedOnly (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_sampleText (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_title (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_label (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_button (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setSampleText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setTitle (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_displaySampleText (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setToolTip (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_buttonClicked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontRequester__ */ diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.cpp b/kdejava/koala/kdejava/TDEFontSizeAction.cpp new file mode 100644 index 00000000..c5791ff2 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontSizeAction.cpp @@ -0,0 +1,455 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEFontSizeAction.h> + +class TDEFontSizeActionJBridge : public TDEFontSizeAction +{ +public: + TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontSizeAction(arg1,arg2) {}; + TDEFontSizeActionJBridge(const TQString& arg1) : TDEFontSizeAction(arg1) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontSizeAction(arg1,arg2) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontSizeAction(arg1,arg2) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEFontSizeActionJBridge(TQObject* arg1,const char* arg2) : TDEFontSizeAction(arg1,arg2) {}; + TDEFontSizeActionJBridge(TQObject* arg1) : TDEFontSizeAction(arg1) {}; + TDEFontSizeActionJBridge() : TDEFontSizeAction() {}; + void protected_slotActivated(int arg1) { + TDEFontSizeAction::slotActivated(arg1); + return; + } + void protected_slotActivated(const TQString& arg1) { + TDEFontSizeAction::slotActivated(arg1); + return; + } + void protected_slotActivated() { + TDEFontSizeAction::slotActivated(); + return; + } + ~TDEFontSizeActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","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.TDEFontSizeAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","clear")) { + TDESelectAction::clear(); + } + 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.TDEFontSizeAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotActivated")) { + TDEFontSizeAction::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; + } + bool isEditable() { + return QtSupport::booleanDelegate(this,"isEditable"); + } + 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.TDEFontSizeAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEFontSizeAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEFontSizeAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontSizeAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEFontSizeAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEFontSizeAction_fontSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->fontSize(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEFontSizeAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEFontSizeAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontSizeAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((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_kde_koala_TDEFontSizeAction_setFontSize(JNIEnv* env, jobject obj, jint size) +{ + ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->setFontSize((int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_slotActivated__(JNIEnv* env, jobject obj) +{ + ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.h b/kdejava/koala/kdejava/TDEFontSizeAction.h new file mode 100644 index 00000000..4ee30794 --- /dev/null +++ b/kdejava/koala/kdejava/TDEFontSizeAction.h @@ -0,0 +1,49 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEFontSizeAction__ +#define __org_kde_koala_TDEFontSizeAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontSizeAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontSizeAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontSizeAction_fontSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_setFontSize (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontSizeAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEFontSizeAction__ */ diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.cpp b/kdejava/koala/kdejava/TDEGlobalAccel.cpp index ab23f983..d150ea6c 100644 --- a/kdejava/koala/kdejava/TDEGlobalAccel.cpp +++ b/kdejava/koala/kdejava/TDEGlobalAccel.cpp @@ -106,37 +106,37 @@ Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 { static TQString* _qstring_sName = 0; static TQString* _qstring_sLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.KAccelAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.TDEAccelAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) +Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) { static TQString* _qstring_sAction = 0; static TQString* _qstring_sLabel = 0; static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) +Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) { static TQString* _qstring_sAction = 0; static TQString* _qstring_sLabel = 0; static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) +Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) { static TQString* _qstring_sAction = 0; static TQString* _qstring_sLabel = 0; static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); return xret; } @@ -232,7 +232,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) { static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut)); + jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); return xret; } @@ -248,7 +248,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) { static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((TDEGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.KShortcut"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); return xret; } diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.h b/kdejava/koala/kdejava/TDEGlobalAccel.h index eefc2b96..5ec63286 100644 --- a/kdejava/koala/kdejava/TDEGlobalAccel.h +++ b/kdejava/koala/kdejava/TDEGlobalAccel.h @@ -15,9 +15,9 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_className (JN extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_remove (JNIEnv *env, jobject, jstring); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_updateConnections (JNIEnv *env, jobject); diff --git a/kdejava/koala/kdejava/TDEListAction.cpp b/kdejava/koala/kdejava/TDEListAction.cpp new file mode 100644 index 00000000..8cc4c6ce --- /dev/null +++ b/kdejava/koala/kdejava/TDEListAction.cpp @@ -0,0 +1,429 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEListAction.h> + +class TDEListActionJBridge : public TDEListAction +{ +public: + TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; + TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEListAction(arg1,arg2,arg3) {}; + TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEListAction(arg1,arg2) {}; + TDEListActionJBridge(const TQString& arg1) : TDEListAction(arg1) {}; + TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEListAction(arg1,arg2) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2) : TDEListAction(arg1,arg2) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListActionJBridge(TQObject* arg1,const char* arg2) : TDEListAction(arg1,arg2) {}; + TDEListActionJBridge(TQObject* arg1) : TDEListAction(arg1) {}; + TDEListActionJBridge() : TDEListAction() {}; + ~TDEListActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","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.TDEListAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","clear")) { + TDESelectAction::clear(); + } + 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.TDEListAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotActivated")) { + TDESelectAction::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; + } + bool isEditable() { + return QtSupport::booleanDelegate(this,"isEditable"); + } + 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.TDEListAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEListAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListAction_currentItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEListAction*) QtSupport::getQt(env, obj))->currentItem(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEListAction_currentText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEListAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEListAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEListAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListActionJBridge((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_kde_koala_TDEListAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) +{ + ((TDEListAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); + return; +} + diff --git a/kdejava/koala/kdejava/TDEListAction.h b/kdejava/koala/kdejava/TDEListAction.h new file mode 100644 index 00000000..88a2a799 --- /dev/null +++ b/kdejava/koala/kdejava/TDEListAction.h @@ -0,0 +1,47 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEListAction__ +#define __org_kde_koala_TDEListAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_currentText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListAction_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_setCurrentItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEListAction__ */ diff --git a/kdejava/koala/kdejava/KListBox.cpp b/kdejava/koala/kdejava/TDEListBox.cpp index 793bdc63..41326d6f 100644 --- a/kdejava/koala/kdejava/KListBox.cpp +++ b/kdejava/koala/kdejava/TDEListBox.cpp @@ -5,56 +5,56 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KListBox.h> +#include <kdejava/TDEListBox.h> -class KListBoxJBridge : public KListBox +class TDEListBoxJBridge : public TDEListBox { public: - KListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KListBox(arg1,arg2,arg3) {}; - KListBoxJBridge(TQWidget* arg1,const char* arg2) : KListBox(arg1,arg2) {}; - KListBoxJBridge(TQWidget* arg1) : KListBox(arg1) {}; - KListBoxJBridge() : KListBox() {}; + TDEListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEListBox(arg1,arg2,arg3) {}; + TDEListBoxJBridge(TQWidget* arg1,const char* arg2) : TDEListBox(arg1,arg2) {}; + TDEListBoxJBridge(TQWidget* arg1) : TDEListBox(arg1) {}; + TDEListBoxJBridge() : TDEListBox() {}; void protected_emitExecute(TQListBoxItem* arg1,const TQPoint& arg2) { - KListBox::emitExecute(arg1,arg2); + TDEListBox::emitExecute(arg1,arg2); return; } void protected_keyPressEvent(TQKeyEvent* arg1) { - KListBox::keyPressEvent(arg1); + TDEListBox::keyPressEvent(arg1); return; } void protected_focusOutEvent(TQFocusEvent* arg1) { - KListBox::focusOutEvent(arg1); + TDEListBox::focusOutEvent(arg1); return; } void protected_leaveEvent(TQEvent* arg1) { - KListBox::leaveEvent(arg1); + TDEListBox::leaveEvent(arg1); return; } void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - KListBox::contentsMousePressEvent(arg1); + TDEListBox::contentsMousePressEvent(arg1); return; } void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - KListBox::contentsMouseDoubleClickEvent(arg1); + TDEListBox::contentsMouseDoubleClickEvent(arg1); return; } void protected_slotOnItem(TQListBoxItem* arg1) { - KListBox::slotOnItem(arg1); + TDEListBox::slotOnItem(arg1); return; } void protected_slotOnViewport() { - KListBox::slotOnViewport(); + TDEListBox::slotOnViewport(); return; } void protected_slotSettingsChanged(int arg1) { - KListBox::slotSettingsChanged(arg1); + TDEListBox::slotSettingsChanged(arg1); return; } void protected_slotAutoSelect() { - KListBox::slotAutoSelect(); + TDEListBox::slotAutoSelect(); return; } - ~KListBoxJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEListBoxJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -122,7 +122,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -135,12 +135,12 @@ public: } void focusOutEvent(TQFocusEvent* arg1) { if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KListBox::focusOutEvent(arg1); + TDEListBox::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setFocus")) { TQWidget::setFocus(); } return; @@ -152,7 +152,7 @@ public: return; } void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","ensureCurrentVisible")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","ensureCurrentVisible")) { TQListBox::ensureCurrentVisible(); } return; @@ -164,7 +164,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","hide")) { TQWidget::hide(); } return; @@ -200,7 +200,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -224,13 +224,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showMaximized")) { TQWidget::showMaximized(); } return; @@ -261,7 +261,7 @@ public: } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KListBox::keyPressEvent(arg1); + TDEListBox::keyPressEvent(arg1); } return; } @@ -269,7 +269,7 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","clearSelection")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","clearSelection")) { TQListBox::clearSelection(); } return; @@ -365,7 +365,7 @@ public: return; } void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","invertSelection")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","invertSelection")) { TQListBox::invertSelection(); } return; @@ -378,7 +378,7 @@ public: } void leaveEvent(TQEvent* arg1) { if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KListBox::leaveEvent(arg1); + TDEListBox::leaveEvent(arg1); } return; } @@ -390,18 +390,18 @@ public: } void contentsMousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMousePressEvent(arg1); + TDEListBox::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showNormal")) { TQWidget::showNormal(); } return; @@ -461,7 +461,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","adjustSize")) { TQWidget::adjustSize(); } return; @@ -510,7 +510,7 @@ public: } void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KListBox::contentsMouseDoubleClickEvent(arg1); + TDEListBox::contentsMouseDoubleClickEvent(arg1); } return; } @@ -545,7 +545,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KListBox","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showMinimized")) { TQWidget::showMinimized(); } return; @@ -553,152 +553,152 @@ public: }; JNIEXPORT jstring JNICALL -Java_org_kde_koala_KListBox_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KListBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEListBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEListBox_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KListBox_finalize(env, obj); + Java_org_kde_koala_TDEListBox_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) +Java_org_kde_koala_TDEListBox_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListBoxItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListBoxItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KListBox*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEListBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) +Java_org_kde_koala_TDEListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KListBox_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_leaveEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEListBox_leaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KListBox_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_newKListBox__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_newTDEListBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListBoxJBridge()); + QtSupport::setQt(env, obj, new TDEListBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_newKListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_newKListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) 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_KListBox_newKListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); + QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_slotAutoSelect(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_slotAutoSelect(JNIEnv* env, jobject obj) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_slotOnItem(JNIEnv* env, jobject obj, jobject item) +Java_org_kde_koala_TDEListBox_slotOnItem(JNIEnv* env, jobject obj, jobject item) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListBoxItem*) QtSupport::getQt(env, item)); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListBoxItem*) QtSupport::getQt(env, item)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_slotOnViewport(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEListBox_slotOnViewport(JNIEnv* env, jobject obj) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KListBox_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_koala_TDEListBox_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) { - ((KListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); + ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); return; } diff --git a/kdejava/koala/kdejava/TDEListBox.h b/kdejava/koala/kdejava/TDEListBox.h new file mode 100644 index 00000000..b88375c0 --- /dev/null +++ b/kdejava/koala/kdejava/TDEListBox.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEListBox__ +#define __org_kde_koala_TDEListBox__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListBox_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListBox_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_emitExecute (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnViewport (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotSettingsChanged (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotAutoSelect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListBox_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEListBox__ */ diff --git a/kdejava/koala/kdejava/TDEListView.cpp b/kdejava/koala/kdejava/TDEListView.cpp new file mode 100644 index 00000000..f6647c44 --- /dev/null +++ b/kdejava/koala/kdejava/TDEListView.cpp @@ -0,0 +1,1486 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqrect.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <klistview.h> +#include <tqcolor.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEListView.h> + +class TDEListViewJBridge : public TDEListView +{ +public: + TDEListViewJBridge(TQWidget* arg1,const char* arg2) : TDEListView(arg1,arg2) {}; + TDEListViewJBridge(TQWidget* arg1) : TDEListView(arg1) {}; + TDEListViewJBridge() : TDEListView() {}; + bool protected_below(const TQRect& arg1,const TQPoint& arg2) { + return (bool) TDEListView::below(arg1,arg2); + } + bool protected_below(TQListViewItem* arg1,const TQPoint& arg2) { + return (bool) TDEListView::below(arg1,arg2); + } + bool protected_event(TQEvent* arg1) { + return (bool) TDEListView::event(arg1); + } + void protected_emitExecute(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { + TDEListView::emitExecute(arg1,arg2,arg3); + return; + } + void protected_focusInEvent(TQFocusEvent* arg1) { + TDEListView::focusInEvent(arg1); + return; + } + void protected_focusOutEvent(TQFocusEvent* arg1) { + TDEListView::focusOutEvent(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TDEListView::leaveEvent(arg1); + return; + } + TQString protected_tooltip(TQListViewItem* arg1,int arg2) { + return (TQString) TDEListView::tooltip(arg1,arg2); + } + bool protected_showTooltip(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { + return (bool) TDEListView::showTooltip(arg1,arg2,arg3); + } + void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { + TDEListView::contentsDragMoveEvent(arg1); + return; + } + void protected_contentsMousePressEvent(TQMouseEvent* arg1) { + TDEListView::contentsMousePressEvent(arg1); + return; + } + void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { + TDEListView::contentsMouseMoveEvent(arg1); + return; + } + void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + TDEListView::contentsMouseDoubleClickEvent(arg1); + return; + } + void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + TDEListView::contentsDragLeaveEvent(arg1); + return; + } + void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { + TDEListView::contentsMouseReleaseEvent(arg1); + return; + } + void protected_contentsDropEvent(TQDropEvent* arg1) { + TDEListView::contentsDropEvent(arg1); + return; + } + void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { + TDEListView::contentsDragEnterEvent(arg1); + return; + } + TQDragObject* protected_dragObject() { + return (TQDragObject*) TDEListView::dragObject(); + } + bool protected_acceptDrag(TQDropEvent* arg1) { + return (bool) TDEListView::acceptDrag(arg1); + } + TQRect protected_drawDropVisualizer(TQPainter* arg1,TQListViewItem* arg2,TQListViewItem* arg3) { + return (TQRect) TDEListView::drawDropVisualizer(arg1,arg2,arg3); + } + TQRect protected_drawItemHighlighter(TQPainter* arg1,TQListViewItem* arg2) { + return (TQRect) TDEListView::drawItemHighlighter(arg1,arg2); + } + void protected_startDrag() { + TDEListView::startDrag(); + return; + } + void protected_keyPressEvent(TQKeyEvent* arg1) { + TDEListView::keyPressEvent(arg1); + return; + } + void protected_viewportPaintEvent(TQPaintEvent* arg1) { + TDEListView::viewportPaintEvent(arg1); + return; + } + void protected_activateAutomaticSelection() { + TDEListView::activateAutomaticSelection(); + return; + } + void protected_deactivateAutomaticSelection() { + TDEListView::deactivateAutomaticSelection(); + return; + } + bool protected_automaticSelection() { + return (bool) TDEListView::automaticSelection(); + } + void protected_viewportResizeEvent(TQResizeEvent* arg1) { + TDEListView::viewportResizeEvent(arg1); + return; + } + void protected_disableAutoSelection() { + TDEListView::disableAutoSelection(); + return; + } + void protected_resetAutoSelection() { + TDEListView::resetAutoSelection(); + return; + } + void protected_movableDropEvent(TQListViewItem* arg1,TQListViewItem* arg2) { + TDEListView::movableDropEvent(arg1,arg2); + return; + } + void protected_findDrop(const TQPoint& arg1,TQListViewItem*& arg2,TQListViewItem*& arg3) { + TDEListView::findDrop(arg1,arg2,arg3); + return; + } + void protected_fileManagerKeyPressEvent(TQKeyEvent* arg1) { + TDEListView::fileManagerKeyPressEvent(arg1); + return; + } + int protected_depthToPixels(int arg1) { + return (int) TDEListView::depthToPixels(arg1); + } + void protected_slotSettingsChanged(int arg1) { + TDEListView::slotSettingsChanged(arg1); + return; + } + void protected_slotMouseButtonClicked(int arg1,TQListViewItem* arg2,const TQPoint& arg3,int arg4) { + TDEListView::slotMouseButtonClicked(arg1,arg2,arg3,arg4); + return; + } + void protected_doneEditing(TQListViewItem* arg1,int arg2) { + TDEListView::doneEditing(arg1,arg2); + return; + } + void protected_cleanDropVisualizer() { + TDEListView::cleanDropVisualizer(); + return; + } + void protected_cleanItemHighlighter() { + TDEListView::cleanItemHighlighter(); + return; + } + void protected_emitContextMenu(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { + TDEListView::emitContextMenu(arg1,arg2,arg3); + return; + } + void protected_emitContextMenu(TDEListView* arg1,TQListViewItem* arg2) { + TDEListView::emitContextMenu(arg1,arg2); + return; + } + void protected_slotOnItem(TQListViewItem* arg1) { + TDEListView::slotOnItem(arg1); + return; + } + void protected_slotOnViewport() { + TDEListView::slotOnViewport(); + return; + } + void protected_slotAutoSelect() { + TDEListView::slotAutoSelect(); + return; + } + void protected_slotDragExpand() { + TDEListView::slotDragExpand(); + return; + } + void protected_slotHeaderChanged() { + TDEListView::slotHeaderChanged(); + return; + } + ~TDEListViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQListView::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseDoubleClickEvent(arg1); + } + return; + } + void removeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::removeItem(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void contentsMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEListView::contentsMouseReleaseEvent(arg1); + } + return; + } + void viewportPaintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TDEListView::viewportPaintEvent(arg1); + } + return; + } + void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseDoubleClickEvent(arg1); + } + return; + } + void viewportMouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseReleaseEvent(arg1); + } + return; + } + void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TDEListView::contentsDragLeaveEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TDEListView::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void insertItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::insertItem(arg1); + } + return; + } + void drawFrame(TQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { + TQFrame::drawFrame(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void viewportResizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TDEListView::viewportResizeEvent(arg1); + } + return; + } + void sort() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","sort")) { + TQListView::sort(); + } + return; + } + void setPalette(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQListView::setPalette(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clear")) { + TQListView::clear(); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void contentsDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TDEListView::contentsDropEvent(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQListView::showEvent(arg1); + } + return; + } + void viewportContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::viewportContextMenuEvent(arg1); + } + return; + } + void viewportDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQScrollView::viewportDragEnterEvent(arg1); + } + return; + } + void takeItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TDEListView::takeItem(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TDEListView::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void clearSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clearSelection")) { + TQListView::clearSelection(); + } + return; + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCornerWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQScrollView::setCornerWidget(arg1); + } + return; + } + void contentsDragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TDEListView::contentsDragEnterEvent(arg1); + } + return; + } + void contentsWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::contentsWheelEvent(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void startDrag() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","startDrag")) { + TDEListView::startDrag(); + } + return; + } + void setFont(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { + TQListView::setFont(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void fileManagerKeyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TDEListView::fileManagerKeyPressEvent(arg1); + } + return; + } + void contentsDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TDEListView::contentsDragMoveEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void contentsMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEListView::contentsMouseMoveEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void invertSelection() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","invertSelection")) { + TQListView::invertSelection(); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TDEListView::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void contentsMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEListView::contentsMousePressEvent(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void viewportWheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::viewportWheelEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::mouseMoveEvent(arg1); + } + return; + } + void viewportMouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void viewportDropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQScrollView::viewportDropEvent(arg1); + } + return; + } + void viewportDragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQScrollView::viewportDragMoveEvent(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQScrollView::wheelEvent(arg1); + } + return; + } + void setCurrentItem(TQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { + TQListView::setCurrentItem(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TDEListView::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEListView::contentsMouseDoubleClickEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQScrollView::contextMenuEvent(arg1); + } + return; + } + void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQScrollView::viewportDragLeaveEvent(arg1); + } + return; + } + void contentsContextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQListView::contentsContextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void viewportMousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQScrollView::viewportMousePressEvent(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_acceptDrag(JNIEnv* env, jobject obj, jobject event) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_activateAutomaticSelection(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_activateAutomaticSelection(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint width) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject iconset, jstring label) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint width) +{ +static TQString* _qstring_label = 0; + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_alternateBackground(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEListView*) QtSupport::getQt(env, obj))->alternateBackground(), "org.kde.qt.TQColor"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_ascendingSort(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->ascendingSort(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_autoOpen(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->autoOpen(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_automaticSelection(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_automaticSelection(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject i, jobject p) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((TQListViewItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject rect, jobject p) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEListView_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEListView*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_cleanDropVisualizer(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanDropVisualizer(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_cleanItemHighlighter(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanItemHighlighter(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_columnSorted(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->columnSorted(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject event) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, event)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject event) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, event)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_deactivateAutomaticSelection(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_deactivateAutomaticSelection(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_depthToPixels(JNIEnv* env, jobject obj, jint depth) +{ + jint xret = (jint) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_depthToPixels((int) depth); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_disableAutoSelection(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_disableAutoSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEListView_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_doneEditing(JNIEnv* env, jobject obj, jobject item, jint row) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_doneEditing((TQListViewItem*) QtSupport::getQt(env, item), (int) row); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_dragEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dragEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_dragObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_drawDropVisualizer(JNIEnv* env, jobject obj, jobject p, jobject parent, jobject after) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawDropVisualizer((TQPainter*) QtSupport::getQt(env, p), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_drawItemHighlighter(JNIEnv* env, jobject obj, jobject painter, jobject item) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawItemHighlighter((TQPainter*) QtSupport::getQt(env, painter), (TQListViewItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_dropHighlighter(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropHighlighter(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_dropVisualizerWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizerWidth(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_dropVisualizer(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizer(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TDEListView*) QtSupport::getQt(env, arg1), (TQListViewItem*) QtSupport::getQt(env, arg2)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TQListViewItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (int) arg3); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos, jint c) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_event(JNIEnv* env, jobject obj, jobject arg1) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_fileManagerKeyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEListView*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_findDrop(JNIEnv* env, jobject obj, jobject pos, jobject parent, jobject after) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_findDrop((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_focusInEvent(JNIEnv* env, jobject obj, jobject fe) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_fullWidth(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->fullWidth(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_isExecuteArea__I(JNIEnv* env, jobject obj, jint x) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((int) x); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_isRenameable(JNIEnv* env, jobject obj, jint column) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isRenameable((int) column); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_itemAtIndex(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->itemAtIndex((int) index), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_itemIndex(JNIEnv* env, jobject obj, jobject item) +{ + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->itemIndex((const TQListViewItem*) QtSupport::getQt(env, item)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_itemsMovable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsMovable(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_itemsRenameable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsRenameable(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_lastChild(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastChild(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_lastItem(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_leaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_movableDropEvent(JNIEnv* env, jobject obj, jobject parent, jobject afterme) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_movableDropEvent((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, afterme)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_moveItem(JNIEnv* env, jobject obj, jobject item, jobject parent, jobject after) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, item), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_newTDEListView__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewJBridge((TQWidget*) 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_TDEListView_removeColumn(JNIEnv* env, jobject obj, jint index) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListView_renameLineEdit(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->renameLineEdit(), "org.kde.koala.KLineEdit"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_rename(JNIEnv* env, jobject obj, jobject item, jint c) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->rename((TQListViewItem*) QtSupport::getQt(env, item), (int) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_resetAutoSelection(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_resetAutoSelection(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_restoreLayout(JNIEnv* env, jobject obj, jobject config, jstring group) +{ +static TQString* _qstring_group = 0; + ((TDEListView*) QtSupport::getQt(env, obj))->restoreLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_saveLayout(JNIEnv* env, jobject obj, jobject config, jstring group) +{ +static TQString* _qstring_group = 0; + ((TDEListView*) QtSupport::getQt(env, obj))->saveLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_selectionModeExt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->selectionModeExt(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setAlternateBackground(JNIEnv* env, jobject obj, jobject c) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setAlternateBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setAutoOpen(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setAutoOpen((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setDropHighlighter(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setDropHighlighter((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setDropVisualizerWidth(JNIEnv* env, jobject obj, jint w) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizerWidth((int) w); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setDropVisualizer(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizer((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setFullWidth(JNIEnv* env, jobject obj, jboolean fullWidth) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setFullWidth((bool) fullWidth); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setItemsRenameable(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setItemsRenameable((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setRenameable__I(JNIEnv* env, jobject obj, jint column) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setRenameable__IZ(JNIEnv* env, jobject obj, jint column, jboolean yesno) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column, (bool) yesno); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setSelectionModeExt(JNIEnv* env, jobject obj, jint mode) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setSelectionModeExt((TDEListView::SelectionModeExt) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setShadeSortColumn(JNIEnv* env, jobject obj, jboolean shadeSortColumn) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setShadeSortColumn((bool) shadeSortColumn); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setSorting__I(JNIEnv* env, jobject obj, jint column) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setTabOrderedRenaming(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setTabOrderedRenaming((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_setTooltipColumn(JNIEnv* env, jobject obj, jint column) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->setTooltipColumn((int) column); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_shadeSortColumn(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->shadeSortColumn(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_showTooltip(JNIEnv* env, jobject obj, jobject item, jobject pos, jint column) +{ + jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_showTooltip((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) column); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotAutoSelect(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotDragExpand(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotDragExpand(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotHeaderChanged(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotHeaderChanged(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotMouseButtonClicked(JNIEnv* env, jobject obj, jint btn, jobject item, jobject pos, jint c) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotMouseButtonClicked((int) btn, (TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotOnItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotOnViewport(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_startDrag(JNIEnv* env, jobject obj) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListView_tabOrderedRenaming(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->tabOrderedRenaming(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_takeItem(JNIEnv* env, jobject obj, jobject i) +{ + ((TDEListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, i)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEListView_tooltipColumn(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->tooltipColumn(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEListView_tooltip(JNIEnv* env, jobject obj, jobject item, jint column) +{ + TQString _qstring; + _qstring = ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_tooltip((TQListViewItem*) QtSupport::getQt(env, item), (int) column); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEListView.h b/kdejava/koala/kdejava/TDEListView.h new file mode 100644 index 00000000..430f8aae --- /dev/null +++ b/kdejava/koala/kdejava/TDEListView.h @@ -0,0 +1,123 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEListView__ +#define __org_kde_koala_TDEListView__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAcceptDrops (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_moveItem (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastItem (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastChild (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_renameLineEdit (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsMovable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsRenameable (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dragEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_autoOpen (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isRenameable (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropVisualizer (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_tooltipColumn (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropHighlighter (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_dropVisualizerWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_selectionModeExt (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_itemIndex (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_itemAtIndex (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setFullWidth (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_fullWidth (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_removeColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAlternateBackground (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_alternateBackground (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_saveLayout (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_restoreLayout (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_columnSorted (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_ascendingSort (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setShadeSortColumn (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_shadeSortColumn (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_rename (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsMovable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsRenameable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDragEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAutoOpen (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizer (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizerWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTooltipColumn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropHighlighter (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSelectionModeExt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTabOrderedRenaming (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_tabOrderedRenaming (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitExecute (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusInEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusOutEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_tooltip (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_showTooltip (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDropEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_dragObject (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_acceptDrag (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawDropVisualizer (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawItemHighlighter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_startDrag (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportPaintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_activateAutomaticSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_deactivateAutomaticSelection (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_automaticSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_disableAutoSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_resetAutoSelection (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_movableDropEvent (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_findDrop (JNIEnv *env, jobject, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_depthToPixels (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotSettingsChanged (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotMouseButtonClicked (JNIEnv *env, jobject, jint, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_doneEditing (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanDropVisualizer (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanItemHighlighter (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnViewport (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotAutoSelect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotDragExpand (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotHeaderChanged (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEListView__ */ diff --git a/kdejava/koala/kdejava/TDEListViewItem.cpp b/kdejava/koala/kdejava/TDEListViewItem.cpp new file mode 100644 index 00000000..05ca3d1a --- /dev/null +++ b/kdejava/koala/kdejava/TDEListViewItem.cpp @@ -0,0 +1,614 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <klistview.h> +#include <tqcolor.h> +#include <tqpalette.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEListViewItem.h> + +class TDEListViewItemJBridge : public TDEListViewItem +{ +public: + TDEListViewItemJBridge(TQListView* arg1) : TDEListViewItem(arg1) {}; + TDEListViewItemJBridge(TQListViewItem* arg1) : TDEListViewItem(arg1) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; + TDEListViewItemJBridge(TQListView* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; + TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; + TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; + ~TDEListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEListViewItem_backgroundColor(JNIEnv* env, jobject obj, jint column) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEListViewItem*) QtSupport::getQt(env, obj))->backgroundColor((int) column)), "org.kde.qt.TQColor", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEListViewItem_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { + delete (TDEListViewItem*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_insertItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TDEListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, item)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListViewItem_isAlternate(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEListViewItem*) QtSupport::getQt(env, obj))->isAlternate(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEListViewItem_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; +static TQString* _qstring_arg10 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) +{ +static TQString* _qstring_arg2 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) +{ +static TQString* _qstring_arg2 = 0; +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) +{ +static TQString* _qstring_arg3 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) +{ +static TQString* _qstring_arg3 = 0; +static TQString* _qstring_arg4 = 0; +static TQString* _qstring_arg5 = 0; +static TQString* _qstring_arg6 = 0; +static TQString* _qstring_arg7 = 0; +static TQString* _qstring_arg8 = 0; +static TQString* _qstring_arg9 = 0; +static TQString* _qstring_arg10 = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_paintCell(JNIEnv* env, jobject obj, jobject p, jobject cg, jint column, jint width, jint alignment) +{ + ((TDEListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEListViewItem_takeItem(JNIEnv* env, jobject obj, jobject item) +{ + ((TDEListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, item)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEListViewItem.h b/kdejava/koala/kdejava/TDEListViewItem.h new file mode 100644 index 00000000..87cab4e7 --- /dev/null +++ b/kdejava/koala/kdejava/TDEListViewItem.h @@ -0,0 +1,62 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEListViewItem__ +#define __org_kde_koala_TDEListViewItem__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_insertItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_takeItem (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isAlternate (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListViewItem_backgroundColor (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEListViewItem__ */ diff --git a/kdejava/koala/kdejava/TDEMainWindow.cpp b/kdejava/koala/kdejava/TDEMainWindow.cpp new file mode 100644 index 00000000..16c5bf4f --- /dev/null +++ b/kdejava/koala/kdejava/TDEMainWindow.cpp @@ -0,0 +1,1639 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqsize.h> +#include <kmainwindow.h> +#include <kxmlguiclient.h> +#include <tqpixmap.h> +#include <tqstring.h> +#include <tqdom.h> +#include <tqstringlist.h> +#include <kxmlguibuilder.h> +#include <tqnamespace.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEMainWindow.h> + +class TDEMainWindowJBridge : public TDEMainWindow +{ +public: + TDEMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEMainWindow(arg1,arg2,arg3) {}; + TDEMainWindowJBridge(TQWidget* arg1,const char* arg2) : TDEMainWindow(arg1,arg2) {}; + TDEMainWindowJBridge(TQWidget* arg1) : TDEMainWindow(arg1) {}; + TDEMainWindowJBridge() : TDEMainWindow() {}; + TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TDEMainWindow(arg1,arg2,arg3,arg4) {}; + TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : TDEMainWindow(arg1,arg2,arg3) {}; + TDEMainWindowJBridge(int arg1,TQWidget* arg2) : TDEMainWindow(arg1,arg2) {}; + TDEMainWindowJBridge(int arg1) : TDEMainWindow(arg1) {}; + void public_show() { + TDEMainWindow::show(); + return; + } + void public_hide() { + TDEMainWindow::hide(); + return; + } + void protected_paintEvent(TQPaintEvent* arg1) { + TDEMainWindow::paintEvent(arg1); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TDEMainWindow::childEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TDEMainWindow::resizeEvent(arg1); + return; + } + void protected_closeEvent(TQCloseEvent* arg1) { + TDEMainWindow::closeEvent(arg1); + return; + } + bool protected_queryExit() { + return (bool) TDEMainWindow::queryExit(); + } + bool protected_queryClose() { + return (bool) TDEMainWindow::queryClose(); + } + void protected_saveProperties(TDEConfig* arg1) { + TDEMainWindow::saveProperties(arg1); + return; + } + void protected_readProperties(TDEConfig* arg1) { + TDEMainWindow::readProperties(arg1); + return; + } + void protected_saveGlobalProperties(TDEConfig* arg1) { + TDEMainWindow::saveGlobalProperties(arg1); + return; + } + void protected_readGlobalProperties(TDEConfig* arg1) { + TDEMainWindow::readGlobalProperties(arg1); + return; + } + void protected_savePropertiesInternal(TDEConfig* arg1,int arg2) { + TDEMainWindow::savePropertiesInternal(arg1,arg2); + return; + } + bool protected_readPropertiesInternal(TDEConfig* arg1,int arg2) { + return (bool) TDEMainWindow::readPropertiesInternal(arg1,arg2); + } + bool protected_settingsDirty() { + return (bool) TDEMainWindow::settingsDirty(); + } + TQString protected_settingsGroup() { + return (TQString) TDEMainWindow::settingsGroup(); + } + void protected_saveWindowSize(TDEConfig* arg1) { + TDEMainWindow::saveWindowSize(arg1); + return; + } + void protected_restoreWindowSize(TDEConfig* arg1) { + TDEMainWindow::restoreWindowSize(arg1); + return; + } + void protected_parseGeometry(bool arg1) { + TDEMainWindow::parseGeometry(arg1); + return; + } + void protected_saveNewToolbarConfig() { + TDEMainWindow::saveNewToolbarConfig(); + return; + } + void protected_showAboutApplication() { + TDEMainWindow::showAboutApplication(); + return; + } + void protected_saveAutoSaveSettings() { + TDEMainWindow::saveAutoSaveSettings(); + return; + } + ~TDEMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_setInstance(TDEInstance* arg1) { + KXMLGUIClient::setInstance(arg1); + return; + } + void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { + KXMLGUIClient::setXMLFile(arg1,arg2,arg3); + return; + } + void protected_setXMLFile(const TQString& arg1,bool arg2) { + KXMLGUIClient::setXMLFile(arg1,arg2); + return; + } + void protected_setXMLFile(const TQString& arg1) { + KXMLGUIClient::setXMLFile(arg1); + return; + } + void protected_setLocalXMLFile(const TQString& arg1) { + KXMLGUIClient::setLocalXMLFile(arg1); + return; + } + void protected_setXML(const TQString& arg1,bool arg2) { + KXMLGUIClient::setXML(arg1,arg2); + return; + } + void protected_setXML(const TQString& arg1) { + KXMLGUIClient::setXML(arg1); + return; + } + void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { + KXMLGUIClient::setDOMDocument(arg1,arg2); + return; + } + void protected_setDOMDocument(const TQDomDocument& arg1) { + KXMLGUIClient::setDOMDocument(arg1); + return; + } + void protected_conserveMemory() { + KXMLGUIClient::conserveMemory(); + return; + } + void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { + KXMLGUIClient::stateChanged(arg1,arg2); + return; + } + void protected_stateChanged(const TQString& arg1) { + KXMLGUIClient::stateChanged(arg1); + return; + } + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TDEMainWindow::resizeEvent(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + bool queryClose() { + return QtSupport::booleanDelegate(this,"queryClose"); + } + void setCentralWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQMainWindow::setCentralWidget(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void show() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","show")) { + TDEMainWindow::show(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","hide")) { + TDEMainWindow::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TDEMainWindow::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void removeDockWindow(TQDockWindow* arg1) { + if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { + TQMainWindow::removeDockWindow(arg1); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void showAboutApplication() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showAboutApplication")) { + TDEMainWindow::showAboutApplication(); + } + return; + } + void readGlobalProperties(TDEConfig* arg1) { + if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { + TDEMainWindow::readGlobalProperties(arg1); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void conserveMemory() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","conserveMemory")) { + KXMLGUIClient::conserveMemory(); + } + return; + } + bool queryExit() { + return QtSupport::booleanDelegate(this,"queryExit"); + } + void saveProperties(TDEConfig* arg1) { + if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { + TDEMainWindow::saveProperties(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TDEMainWindow::closeEvent(arg1); + } + return; + } + void readProperties(TDEConfig* arg1) { + if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { + TDEMainWindow::readProperties(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void setUpLayout() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setUpLayout")) { + TQMainWindow::setUpLayout(); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TDEMainWindow::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TDEMainWindow::setIcon(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mousePressEvent(arg1); + } + return; + } + void whatsThis() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","whatsThis")) { + TQMainWindow::whatsThis(); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void fontChange(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { + TQWidget::fontChange(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + bool isCustomizable() { + return QtSupport::booleanDelegate(this,"isCustomizable"); + } + void customize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","customize")) { + TQMainWindow::customize(); + } + return; + } + void saveGlobalProperties(TDEConfig* arg1) { + if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { + TDEMainWindow::saveGlobalProperties(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQWidget::contextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void setInstance(TDEInstance* arg1) { + if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { + KXMLGUIClient::setInstance(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_accel(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->accel(), "org.kde.koala.TDEAccel"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_actionCollection(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) +{ +static TQString* _qstring_state = 0; +static TQString* _qstring_action = 0; + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) +{ +static TQString* _qstring_state = 0; +static TQString* _qstring_action = 0; + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_appHelpActivated(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->appHelpActivated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) +{ +static TQString* _qstring_groupName = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean force) +{ +static TQString* _qstring_groupName = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) force); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_autoSaveGroup(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveGroup(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_autoSaveSettings(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveSettings(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_builderClient(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_builderInstance(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_canBeRestored(JNIEnv* env, jclass cls, jint number) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TDEMainWindowJBridge::canBeRestored((int) number); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_childEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_classNameOfToplevel(JNIEnv* env, jclass cls, jint number) +{ + TQString _qstring; + (void) cls; + _qstring = TDEMainWindowJBridge::classNameOfToplevel((int) number); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_clientBuilder(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEMainWindow_configureToolbars(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEMainWindow*) QtSupport::getQt(env, obj))->configureToolbars(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_conserveMemory(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_containerTags(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->containerTags(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_createContainer(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element, jintArray id) +{ + int* _int_id = QtSupport::toIntPtr(env, id); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createContainer((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element), (int&) *_int_id), "org.kde.qt.TQWidget"); + env->SetIntArrayRegion(id, 0, 1, (jint *) _int_id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEMainWindow_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) +{ + jint xret = (jint) ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_createGUI__(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring xmlfile) +{ +static TQString* _qstring_xmlfile = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring xmlfile, jboolean _conserveMemory) +{ +static TQString* _qstring_xmlfile = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) _conserveMemory); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->createStandardStatusBarAction(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_customHelpMenu__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu(), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z(JNIEnv* env, jobject obj, jboolean showWhatsThis) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu((bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_customTags(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->customTags(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEMainWindow_finalize(env, obj); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_domDocument(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_endXMLPlug(JNIEnv* env, jobject obj) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->endXMLPlug(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_factory(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEMainWindow*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject client) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z(JNIEnv* env, jobject obj, jboolean force) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((bool) force); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) +{ + TQString _qstring; + (void) cls; +static TQStringList* _qlist_files = 0; +static TQString* _qstring_doc = 0; + _qstring = TDEMainWindowJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_guiFactory(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->guiFactory(), "org.kde.koala.KXMLGUIFactory"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_hasMenuBar(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->hasMenuBar(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_helpMenu__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu(), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring aboutAppText) +{ +static TQString* _qstring_aboutAppText = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText)), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring aboutAppText, jboolean showWhatsThis) +{ +static TQString* _qstring_aboutAppText = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_hide(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_hide(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->ignoreInitialGeometry(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_initialGeometrySet(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->initialGeometrySet(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_insertChildClient(JNIEnv* env, jobject obj, jobject child) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_instance(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isHelpMenuEnabled(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isStandardToolBarMenuEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_kmenuBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.koala.KMenuBar"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_kstatusBar(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_localXMLFile(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->localXMLFile(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I(JNIEnv* env, jobject obj, jint cflags) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) 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_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) 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_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_parentClient(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_parseGeometry(JNIEnv* env, jobject obj, jboolean parsewidth) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_parseGeometry((bool) parsewidth); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_queryClose(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryClose(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_queryExit(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryExit(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_readGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_readPropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readPropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_readProperties(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readProperties((TDEConfig*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_reloadXML(JNIEnv* env, jobject obj) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->reloadXML(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_removeChildClient(JNIEnv* env, jobject obj, jobject child) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) +{ + ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeContainer((TQWidget*) QtSupport::getQt(env, container), (TQWidget*) QtSupport::getQt(env, parent), (TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, element), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) +{ + ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->resetAutoSaveSettings(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_restoreWindowSize(JNIEnv* env, jobject obj, jobject config) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_restoreWindowSize((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_restore__I(JNIEnv* env, jobject obj, jint number) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_restore__IZ(JNIEnv* env, jobject obj, jint number, jboolean show) +{ + jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number, (bool) show); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveAutoSaveSettings(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) +{ +static TQString* _qstring_groupName = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_savePropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_savePropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveProperties(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveProperties((TDEConfig*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_saveWindowSize(JNIEnv* env, jobject obj, jobject config) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveWindowSize((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) +{ +static TQString* _qstring_groupName = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean saveWindowSize) +{ +static TQString* _qstring_groupName = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) saveWindowSize); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setBuilderClient(JNIEnv* env, jobject obj, jobject client) +{ + ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) +{ + ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) +{ +static TQString* _qstring_caption = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jboolean modified) +{ +static TQString* _qstring_caption = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) modified); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setFactory(JNIEnv* env, jobject obj, jobject factory) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setFrameBorderWidth((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showHelpMenu) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled((bool) showHelpMenu); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setIcon(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setInstance(JNIEnv* env, jobject obj, jobject instance) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) +{ +static TQString* _qstring_caption = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setSettingsDirty(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setSettingsDirty(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setStandardToolBarMenuEnabled((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) +{ +static TQString* _qstring_file = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) +{ +static TQString* _qstring_file = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) +{ +static TQString* _qstring_file = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) +{ + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) +{ +static TQString* _qstring_document = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) +{ +static TQString* _qstring_document = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEMainWindow_settingsDirty(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsDirty(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_settingsGroup(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__I(JNIEnv* env, jobject obj, jint options) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint options, jstring xmlfile) +{ +static TQString* _qstring_xmlfile = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject defaultSize) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject defaultSize, jint options) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject defaultSize, jint options, jstring xmlfile) +{ +static TQString* _qstring_xmlfile = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions(JNIEnv* env, jobject obj) +{ + ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupToolbarMenuActions(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_showAboutApplication(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showAboutApplication(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_show(JNIEnv* env, jobject obj) +{ + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_show(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) +{ +static TQString* _qstring_newstate = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint arg2) +{ +static TQString* _qstring_newstate = 0; + ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) arg2); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) +{ +static TQString* _qstring_newstate = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) +{ +static TQString* _qstring_newstate = 0; + ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_toolBarMenuAction(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBarMenuAction(), "org.kde.koala.TDEAction"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_toolBar__(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +{ +static TQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToolBar"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEMainWindow_unplugActionList(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_widget(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEMainWindow_xmlFile(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlFile(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEMainWindow_memberList(JNIEnv* env, jobject obj) +{ + return (jobject) KDESupport::arrayWithTDEMainWindowList(env, TDEMainWindow::memberList); +} + diff --git a/kdejava/koala/kdejava/TDEMainWindow.h b/kdejava/koala/kdejava/TDEMainWindow.h new file mode 100644 index 00000000..2bc6bdc0 --- /dev/null +++ b/kdejava/koala/kdejava/TDEMainWindow.h @@ -0,0 +1,159 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEMainWindow__ +#define __org_kde_koala_TDEMainWindow__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_hide (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_guiFactory (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_hasMenuBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kmenuBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kstatusBar (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_accel (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveSettings (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBarMenuAction (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_initialGeometrySet (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setIcon (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_configureToolbars (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setPlainCaption (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_appHelpActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setSettingsDirty (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_canBeRestored (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_classNameOfToplevel (JNIEnv *env, jclass, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryExit (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryClose (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveProperties (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readProperties (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveGlobalProperties (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readGlobalProperties (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_savePropertiesInternal (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_readPropertiesInternal (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_settingsDirty (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_settingsGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveWindowSize (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_restoreWindowSize (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_parseGeometry (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_showAboutApplication (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderClient (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderClient (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderInstance (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderInstance (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_widget (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_containerTags (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customTags (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeCustomElement (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_actionCollection (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_instance (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_domDocument (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_xmlFile (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_localXMLFile (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFactory (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_factory (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_parentClient (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_insertChildClient (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeChildClient (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setClientBuilder (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_clientBuilder (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_reloadXML (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_unplugActionList (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_beginXMLPlug (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_endXMLPlug (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setInstance (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setLocalXMLFile (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_conserveMemory (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_memberList (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEMainWindow__ */ diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.cpp b/kdejava/koala/kdejava/TDEPasteTextAction.cpp new file mode 100644 index 00000000..b2d0db99 --- /dev/null +++ b/kdejava/koala/kdejava/TDEPasteTextAction.cpp @@ -0,0 +1,229 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqstring.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEPasteTextAction.h> + +class TDEPasteTextActionJBridge : public TDEPasteTextAction +{ +public: + TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5) {}; + void protected_menuAboutToShow() { + TDEPasteTextAction::menuAboutToShow(); + return; + } + void protected_menuItemActivated(int arg1) { + TDEPasteTextAction::menuItemActivated(arg1); + return; + } + void protected_slotActivated() { + TDEPasteTextAction::slotActivated(); + return; + } + ~TDEPasteTextActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","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.TDEPasteTextAction","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.TDEPasteTextAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotActivated")) { + TDEPasteTextAction::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.TDEPasteTextAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEPasteTextAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEPasteTextAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEPasteTextAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEPasteTextAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEPasteTextAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow(JNIEnv* env, jobject obj) +{ + ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) +{ + ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEPasteTextAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPasteTextAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, 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 TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) 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_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_setMixedMode(JNIEnv* env, jobject obj, jboolean mode) +{ + ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->setMixedMode((bool) mode); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEPasteTextAction_slotActivated(JNIEnv* env, jobject obj) +{ + ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.h b/kdejava/koala/kdejava/TDEPasteTextAction.h new file mode 100644 index 00000000..469229d9 --- /dev/null +++ b/kdejava/koala/kdejava/TDEPasteTextAction.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEPasteTextAction__ +#define __org_kde_koala_TDEPasteTextAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPasteTextAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPasteTextAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_setMixedMode (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuItemActivated (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_slotActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPasteTextAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEPasteTextAction__ */ diff --git a/kdejava/koala/kdejava/KPopupFrame.cpp b/kdejava/koala/kdejava/TDEPopupFrame.cpp index 66104bb4..59fa52f8 100644 --- a/kdejava/koala/kdejava/KPopupFrame.cpp +++ b/kdejava/koala/kdejava/TDEPopupFrame.cpp @@ -4,19 +4,19 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KPopupFrame.h> +#include <kdejava/TDEPopupFrame.h> -class KPopupFrameJBridge : public KPopupFrame +class TDEPopupFrameJBridge : public TDEPopupFrame { public: - KPopupFrameJBridge(TQWidget* arg1,const char* arg2) : KPopupFrame(arg1,arg2) {}; - KPopupFrameJBridge(TQWidget* arg1) : KPopupFrame(arg1) {}; - KPopupFrameJBridge() : KPopupFrame() {}; + TDEPopupFrameJBridge(TQWidget* arg1,const char* arg2) : TDEPopupFrame(arg1,arg2) {}; + TDEPopupFrameJBridge(TQWidget* arg1) : TDEPopupFrame(arg1) {}; + TDEPopupFrameJBridge() : TDEPopupFrame() {}; void protected_keyPressEvent(TQKeyEvent* arg1) { - KPopupFrame::keyPressEvent(arg1); + TDEPopupFrame::keyPressEvent(arg1); return; } - ~KPopupFrameJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEPopupFrameJBridge() {QtSupport::qtKeyDeleted(this);} void drawContents(TQPainter* arg1) { if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { TQFrame::drawContents(arg1); @@ -37,7 +37,7 @@ public: } void resizeEvent(TQResizeEvent* arg1) { if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KPopupFrame::resizeEvent(arg1); + TDEPopupFrame::resizeEvent(arg1); } return; } @@ -60,7 +60,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -72,7 +72,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","show")) { TQWidget::show(); } return; @@ -84,7 +84,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","setFocus")) { TQWidget::setFocus(); } return; @@ -132,7 +132,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -150,13 +150,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showMaximized")) { TQWidget::showMaximized(); } return; @@ -175,7 +175,7 @@ public: } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KPopupFrame::keyPressEvent(arg1); + TDEPopupFrame::keyPressEvent(arg1); } return; } @@ -255,13 +255,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showNormal")) { TQWidget::showNormal(); } return; @@ -303,7 +303,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","adjustSize")) { TQWidget::adjustSize(); } return; @@ -351,7 +351,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPopupFrame",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupFrame",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -364,13 +364,13 @@ public: return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","frameChanged")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","frameChanged")) { TQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupFrame","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showMinimized")) { TQWidget::showMinimized(); } return; @@ -378,127 +378,127 @@ public: }; JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupFrame_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KPopupFrame*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEPopupFrame*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_close(JNIEnv* env, jobject obj, jint r) +Java_org_kde_koala_TDEPopupFrame_close(JNIEnv* env, jobject obj, jint r) { - ((KPopupFrame*) QtSupport::getQt(env, obj))->close((int) r); + ((TDEPopupFrame*) QtSupport::getQt(env, obj))->close((int) r); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KPopupFrame_finalize(env, obj); + Java_org_kde_koala_TDEPopupFrame_finalize(env, obj); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupFrame_exec__II(JNIEnv* env, jobject obj, jint x, jint y) +Java_org_kde_koala_TDEPopupFrame_exec__II(JNIEnv* env, jobject obj, jint x, jint y) { - jint xret = (jint) ((KPopupFrame*) QtSupport::getQt(env, obj))->exec((int) x, (int) y); + jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((int) x, (int) y); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupFrame_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) +Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) { - jint xret = (jint) ((KPopupFrame*) QtSupport::getQt(env, obj))->exec((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); + jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPopupFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPopupFrame*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEPopupFrame*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_hide(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_hide(JNIEnv* env, jobject obj) { - ((KPopupFrame*) QtSupport::getQt(env, obj))->hide(); + ((TDEPopupFrame*) QtSupport::getQt(env, obj))->hide(); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPopupFrame_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEPopupFrame_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KPopupFrameJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TDEPopupFrameJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupFrame_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPopupFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_newKPopupFrame__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupFrameJBridge()); + QtSupport::setQt(env, obj, new TDEPopupFrameJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_newKPopupFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_newKPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEPopupFrameJBridge((TQWidget*) 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_KPopupFrame_popup(JNIEnv* env, jobject obj, jobject pos) +Java_org_kde_koala_TDEPopupFrame_popup(JNIEnv* env, jobject obj, jobject pos) { - ((KPopupFrame*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + ((TDEPopupFrame*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDEPopupFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((KPopupFrame*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TDEPopupFrame*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupFrame_setMainWidget(JNIEnv* env, jobject obj, jobject m) +Java_org_kde_koala_TDEPopupFrame_setMainWidget(JNIEnv* env, jobject obj, jobject m) { - ((KPopupFrame*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, m)); + ((TDEPopupFrame*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, m)); return; } diff --git a/kdejava/koala/kdejava/TDEPopupFrame.h b/kdejava/koala/kdejava/TDEPopupFrame.h new file mode 100644 index 00000000..56e34080 --- /dev/null +++ b/kdejava/koala/kdejava/TDEPopupFrame.h @@ -0,0 +1,34 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEPopupFrame__ +#define __org_kde_koala_TDEPopupFrame__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupFrame_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupFrame_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_setMainWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_popup (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_close (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupFrame_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEPopupFrame__ */ diff --git a/kdejava/koala/kdejava/KPopupMenu.cpp b/kdejava/koala/kdejava/TDEPopupMenu.cpp index f342a932..3e0d5109 100644 --- a/kdejava/koala/kdejava/KPopupMenu.cpp +++ b/kdejava/koala/kdejava/TDEPopupMenu.cpp @@ -7,69 +7,69 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KPopupMenu.h> +#include <kdejava/TDEPopupMenu.h> -class KPopupMenuJBridge : public KPopupMenu +class TDEPopupMenuJBridge : public TDEPopupMenu { public: - KPopupMenuJBridge(TQWidget* arg1,const char* arg2) : KPopupMenu(arg1,arg2) {}; - KPopupMenuJBridge(TQWidget* arg1) : KPopupMenu(arg1) {}; - KPopupMenuJBridge() : KPopupMenu() {}; + TDEPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TDEPopupMenu(arg1,arg2) {}; + TDEPopupMenuJBridge(TQWidget* arg1) : TDEPopupMenu(arg1) {}; + TDEPopupMenuJBridge() : TDEPopupMenu() {}; void protected_closeEvent(TQCloseEvent* arg1) { - KPopupMenu::closeEvent(arg1); + TDEPopupMenu::closeEvent(arg1); return; } void protected_keyPressEvent(TQKeyEvent* arg1) { - KPopupMenu::keyPressEvent(arg1); + TDEPopupMenu::keyPressEvent(arg1); return; } void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KPopupMenu::mouseReleaseEvent(arg1); + TDEPopupMenu::mouseReleaseEvent(arg1); return; } void protected_mousePressEvent(TQMouseEvent* arg1) { - KPopupMenu::mousePressEvent(arg1); + TDEPopupMenu::mousePressEvent(arg1); return; } bool protected_focusNextPrevChild(bool arg1) { - return (bool) KPopupMenu::focusNextPrevChild(arg1); + return (bool) TDEPopupMenu::focusNextPrevChild(arg1); } void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - KPopupMenu::contextMenuEvent(arg1); + TDEPopupMenu::contextMenuEvent(arg1); return; } void protected_hideEvent(TQHideEvent* arg1) { - KPopupMenu::hideEvent(arg1); + TDEPopupMenu::hideEvent(arg1); return; } TQString protected_underlineText(const TQString& arg1,uint arg2) { - return (TQString) KPopupMenu::underlineText(arg1,arg2); + return (TQString) TDEPopupMenu::underlineText(arg1,arg2); } void protected_resetKeyboardVars(bool arg1) { - KPopupMenu::resetKeyboardVars(arg1); + TDEPopupMenu::resetKeyboardVars(arg1); return; } void protected_resetKeyboardVars() { - KPopupMenu::resetKeyboardVars(); + TDEPopupMenu::resetKeyboardVars(); return; } void protected_itemHighlighted(int arg1) { - KPopupMenu::itemHighlighted(arg1); + TDEPopupMenu::itemHighlighted(arg1); return; } void protected_showCtxMenu(TQPoint arg1) { - KPopupMenu::showCtxMenu(arg1); + TDEPopupMenu::showCtxMenu(arg1); return; } void protected_ctxMenuHiding() { - KPopupMenu::ctxMenuHiding(); + TDEPopupMenu::ctxMenuHiding(); return; } void protected_ctxMenuHideShowingMenu() { - KPopupMenu::ctxMenuHideShowingMenu(); + TDEPopupMenu::ctxMenuHideShowingMenu(); return; } - ~KPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -107,7 +107,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -125,7 +125,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setFocus")) { TQWidget::setFocus(); } return; @@ -173,14 +173,14 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","unsetCursor")) { TQWidget::unsetCursor(); } return; } void hideEvent(TQHideEvent* arg1) { if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KPopupMenu::hideEvent(arg1); + TDEPopupMenu::hideEvent(arg1); } return; } @@ -191,13 +191,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showMaximized")) { TQWidget::showMaximized(); } return; @@ -216,7 +216,7 @@ public: } void keyPressEvent(TQKeyEvent* arg1) { if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KPopupMenu::keyPressEvent(arg1); + TDEPopupMenu::keyPressEvent(arg1); } return; } @@ -234,7 +234,7 @@ public: } void closeEvent(TQCloseEvent* arg1) { if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KPopupMenu::closeEvent(arg1); + TDEPopupMenu::closeEvent(arg1); } return; } @@ -258,7 +258,7 @@ public: } void mouseReleaseEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPopupMenu::mouseReleaseEvent(arg1); + TDEPopupMenu::mouseReleaseEvent(arg1); } return; } @@ -293,13 +293,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showNormal")) { TQWidget::showNormal(); } return; @@ -312,7 +312,7 @@ public: } void mousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPopupMenu::mousePressEvent(arg1); + TDEPopupMenu::mousePressEvent(arg1); } return; } @@ -341,7 +341,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","adjustSize")) { TQWidget::adjustSize(); } return; @@ -384,12 +384,12 @@ public: } void contextMenuEvent(TQContextMenuEvent* arg1) { if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KPopupMenu::contextMenuEvent(arg1); + TDEPopupMenu::contextMenuEvent(arg1); } return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPopupMenu",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupMenu",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -402,7 +402,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupMenu","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showMinimized")) { TQWidget::showMinimized(); } return; @@ -410,317 +410,317 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) +Java_org_kde_koala_TDEPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) { - ((KPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_changeTitle__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) +Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) { static TQString* _qstring_text = 0; - ((KPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) +Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) { static TQString* _qstring_text = 0; - ((KPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupMenu_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KPopupMenu*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDEPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEPopupMenu_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_contextMenuFocusItem(JNIEnv* env, jclass cls) +Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) KPopupMenuJBridge::contextMenuFocusItem(); + jint xret = (jint) TDEPopupMenuJBridge::contextMenuFocusItem(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupMenu_contextMenuFocus(JNIEnv* env, jclass cls) +Java_org_kde_koala_TDEPopupMenu_contextMenuFocus(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPopupMenuJBridge::contextMenuFocus(), "org.kde.koala.KPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TDEPopupMenuJBridge::contextMenuFocus(), "org.kde.koala.TDEPopupMenu"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupMenu_contextMenu(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_contextMenu(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPopupMenu*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.qt.TQPopupMenu"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_ctxMenuHideShowingMenu(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu(JNIEnv* env, jobject obj) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHideShowingMenu(); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHideShowingMenu(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_ctxMenuHiding(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding(JNIEnv* env, jobject obj) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHiding(); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHiding(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KPopupMenu_finalize(env, obj); + Java_org_kde_koala_TDEPopupMenu_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(KPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { - delete (KPopupMenu*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(TDEPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { + delete (TDEPopupMenu*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) +Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) { - jboolean xret = (jboolean) ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); + jboolean xret = (jboolean) ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_hideContextMenu(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_hideContextMenu(JNIEnv* env, jobject obj) { - ((KPopupMenu*) QtSupport::getQt(env, obj))->hideContextMenu(); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->hideContextMenu(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_hideEvent(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDEPopupMenu_hideEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) +Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) { static TQString* _qstring_text = 0; - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPopupMenu_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_itemHighlighted(JNIEnv* env, jobject obj, jint whichItem) +Java_org_kde_koala_TDEPopupMenu_itemHighlighted(JNIEnv* env, jobject obj, jint whichItem) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHighlighted((int) whichItem); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHighlighted((int) whichItem); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupMenu_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_newKPopupMenu__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupMenuJBridge()); + QtSupport::setQt(env, obj, new TDEPopupMenuJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_newKPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_newKPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEPopupMenuJBridge((TQWidget*) 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_KPopupMenu_resetKeyboardVars__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__(JNIEnv* env, jobject obj) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars(); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_resetKeyboardVars__Z(JNIEnv* env, jobject obj, jboolean noMatches) +Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z(JNIEnv* env, jobject obj, jboolean noMatches) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars((bool) noMatches); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars((bool) noMatches); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_setKeyboardShortcutsEnabled(JNIEnv* env, jobject obj, jboolean enable) +Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled(JNIEnv* env, jobject obj, jboolean enable) { - ((KPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsEnabled((bool) enable); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsEnabled((bool) enable); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_setKeyboardShortcutsExecute(JNIEnv* env, jobject obj, jboolean enable) +Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute(JNIEnv* env, jobject obj, jboolean enable) { - ((KPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsExecute((bool) enable); + ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsExecute((bool) enable); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupMenu_showCtxMenu(JNIEnv* env, jobject obj, jobject pos) +Java_org_kde_koala_TDEPopupMenu_showCtxMenu(JNIEnv* env, jobject obj, jobject pos) { - ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_showCtxMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); + ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_showCtxMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KPopupMenu_state(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_state(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KPopupMenu*) QtSupport::getQt(env, obj))->state(); + jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->state(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupMenu_titlePixmap(JNIEnv* env, jobject obj, jint id) +Java_org_kde_koala_TDEPopupMenu_titlePixmap(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPopupMenu*) QtSupport::getQt(env, obj))->titlePixmap((int) id)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupMenu*) QtSupport::getQt(env, obj))->titlePixmap((int) id)), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupMenu_title__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupMenu_title__(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KPopupMenu*) QtSupport::getQt(env, obj))->title(); + _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupMenu_title__I(JNIEnv* env, jobject obj, jint id) +Java_org_kde_koala_TDEPopupMenu_title__I(JNIEnv* env, jobject obj, jint id) { TQString _qstring; - _qstring = ((KPopupMenu*) QtSupport::getQt(env, obj))->title((int) id); + _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title((int) id); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupMenu_underlineText(JNIEnv* env, jobject obj, jstring text, jint length) +Java_org_kde_koala_TDEPopupMenu_underlineText(JNIEnv* env, jobject obj, jstring text, jint length) { TQString _qstring; static TQString* _qstring_text = 0; - _qstring = ((KPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_underlineText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) length); + _qstring = ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_underlineText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) length); return QtSupport::fromTQString(env, &_qstring); } diff --git a/kdejava/koala/kdejava/TDEPopupMenu.h b/kdejava/koala/kdejava/TDEPopupMenu.h new file mode 100644 index 00000000..71d986c4 --- /dev/null +++ b/kdejava/koala/kdejava/TDEPopupMenu.h @@ -0,0 +1,59 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEPopupMenu__ +#define __org_kde_koala_TDEPopupMenu__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_titlePixmap (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideContextMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_state (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocus (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_underlineText (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_itemHighlighted (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_showCtxMenu (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEPopupMenu__ */ diff --git a/kdejava/koala/kdejava/KPopupTitle.cpp b/kdejava/koala/kdejava/TDEPopupTitle.cpp index b9806de1..bdc9a3ec 100644 --- a/kdejava/koala/kdejava/KPopupTitle.cpp +++ b/kdejava/koala/kdejava/TDEPopupTitle.cpp @@ -6,23 +6,23 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KPopupTitle.h> +#include <kdejava/TDEPopupTitle.h> -class KPopupTitleJBridge : public KPopupTitle +class TDEPopupTitleJBridge : public TDEPopupTitle { public: - KPopupTitleJBridge(TQWidget* arg1,const char* arg2) : KPopupTitle(arg1,arg2) {}; - KPopupTitleJBridge(TQWidget* arg1) : KPopupTitle(arg1) {}; - KPopupTitleJBridge() : KPopupTitle() {}; + TDEPopupTitleJBridge(TQWidget* arg1,const char* arg2) : TDEPopupTitle(arg1,arg2) {}; + TDEPopupTitleJBridge(TQWidget* arg1) : TDEPopupTitle(arg1) {}; + TDEPopupTitleJBridge() : TDEPopupTitle() {}; void protected_calcSize() { - KPopupTitle::calcSize(); + TDEPopupTitle::calcSize(); return; } void protected_paintEvent(TQPaintEvent* arg1) { - KPopupTitle::paintEvent(arg1); + TDEPopupTitle::paintEvent(arg1); return; } - ~KPopupTitleJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEPopupTitleJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -54,7 +54,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -66,7 +66,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","show")) { TQWidget::show(); } return; @@ -78,7 +78,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","setFocus")) { TQWidget::setFocus(); } return; @@ -96,7 +96,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","hide")) { TQWidget::hide(); } return; @@ -121,7 +121,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KPopupTitle::paintEvent(arg1); + TDEPopupTitle::paintEvent(arg1); } return; } @@ -132,7 +132,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -150,13 +150,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showMaximized")) { TQWidget::showMaximized(); } return; @@ -249,13 +249,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showNormal")) { TQWidget::showNormal(); } return; @@ -297,7 +297,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","adjustSize")) { TQWidget::adjustSize(); } return; @@ -345,7 +345,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPopupTitle",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupTitle",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -358,7 +358,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPopupTitle","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showMinimized")) { TQWidget::showMinimized(); } return; @@ -366,138 +366,138 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_calcSize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_calcSize(JNIEnv* env, jobject obj) { - ((KPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_calcSize(); + ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_calcSize(); return; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupTitle_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KPopupTitle*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KPopupTitle_finalize(env, obj); + Java_org_kde_koala_TDEPopupTitle_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPopupTitle*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPopupTitle*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupTitle*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEPopupTitle*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupTitle_icon(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_icon(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPopupTitle*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupTitle*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPopupTitle_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupTitle_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPopupTitle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupTitle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_newKPopupTitle__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupTitleJBridge()); + QtSupport::setQt(env, obj, new TDEPopupTitleJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_newKPopupTitle__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_newKPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEPopupTitleJBridge((TQWidget*) 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_KPopupTitle_paintEvent(JNIEnv* env, jobject obj, jobject ev) +Java_org_kde_koala_TDEPopupTitle_paintEvent(JNIEnv* env, jobject obj, jobject ev) { - ((KPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); + ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_setIcon(JNIEnv* env, jobject obj, jobject pix) +Java_org_kde_koala_TDEPopupTitle_setIcon(JNIEnv* env, jobject obj, jobject pix) { - ((KPopupTitle*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); + ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_setText(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_koala_TDEPopupTitle_setText(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; - ((KPopupTitle*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_setTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; - ((KPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject icon) +Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject icon) { static TQString* _qstring_text = 0; - ((KPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap*) QtSupport::getQt(env, icon)); + ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap*) QtSupport::getQt(env, icon)); return; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPopupTitle_sizeHint(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KPopupTitle*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEPopupTitle*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPopupTitle_title(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEPopupTitle_title(JNIEnv* env, jobject obj) { TQString _qstring; - _qstring = ((KPopupTitle*) QtSupport::getQt(env, obj))->title(); + _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->title(); return QtSupport::fromTQString(env, &_qstring); } diff --git a/kdejava/koala/kdejava/TDEPopupTitle.h b/kdejava/koala/kdejava/TDEPopupTitle.h new file mode 100644 index 00000000..5fdb9733 --- /dev/null +++ b/kdejava/koala/kdejava/TDEPopupTitle.h @@ -0,0 +1,35 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEPopupTitle__ +#define __org_kde_koala_TDEPopupTitle__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_title (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_icon (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setIcon (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_calcSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupTitle_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEPopupTitle__ */ diff --git a/kdejava/koala/kdejava/TDERadioAction.cpp b/kdejava/koala/kdejava/TDERadioAction.cpp new file mode 100644 index 00000000..8baae927 --- /dev/null +++ b/kdejava/koala/kdejava/TDERadioAction.cpp @@ -0,0 +1,409 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDERadioAction.h> + +class TDERadioActionJBridge : public TDERadioAction +{ +public: + TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; + TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERadioAction(arg1,arg2,arg3) {}; + TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDERadioAction(arg1,arg2) {}; + TDERadioActionJBridge(const TQString& arg1) : TDERadioAction(arg1) {}; + TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDERadioAction(arg1,arg2) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2) : TDERadioAction(arg1,arg2) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERadioActionJBridge(TQObject* arg1,const char* arg2) : TDERadioAction(arg1,arg2) {}; + TDERadioActionJBridge(TQObject* arg1) : TDERadioAction(arg1) {}; + TDERadioActionJBridge() : TDERadioAction() {}; + void protected_slotActivated() { + TDERadioAction::slotActivated(); + return; + } + ~TDERadioActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","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.TDERadioAction","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.TDERadioAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotActivated")) { + TDERadioAction::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.TDERadioAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDERadioAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDERadioAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDERadioAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERadioAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDERadioAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDERadioAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDERadioAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERadioAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERadioActionJBridge((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_kde_koala_TDERadioAction_slotActivated(JNIEnv* env, jobject obj) +{ + ((TDERadioActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + diff --git a/kdejava/koala/kdejava/TDERadioAction.h b/kdejava/koala/kdejava/TDERadioAction.h new file mode 100644 index 00000000..7dfb1be8 --- /dev/null +++ b/kdejava/koala/kdejava/TDERadioAction.h @@ -0,0 +1,45 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDERadioAction__ +#define __org_kde_koala_TDERadioAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERadioAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERadioAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_slotActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERadioAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDERadioAction__ */ diff --git a/kdejava/koala/kdejava/TDERecentDocument.cpp b/kdejava/koala/kdejava/TDERecentDocument.cpp new file mode 100644 index 00000000..fb2732fd --- /dev/null +++ b/kdejava/koala/kdejava/TDERecentDocument.cpp @@ -0,0 +1,121 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <krecentdocument.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <kurl.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDERecentDocument.h> + +class TDERecentDocumentJBridge : public TDERecentDocument +{ +public: + TDERecentDocumentJBridge() : TDERecentDocument() {}; + ~TDERecentDocumentJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring documentStr) +{ + (void) cls; +static TQString* _qstring_documentStr = 0; + TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring documentStr, jboolean isURL) +{ + (void) cls; +static TQString* _qstring_documentStr = 0; + TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr), (bool) isURL); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) +{ + (void) cls; + TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring desktopEntryName) +{ + (void) cls; +static TQString* _qstring_desktopEntryName = 0; + TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_clear(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + TDERecentDocumentJBridge::clear(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDERecentDocument_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDERecentDocument*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDERecentDocument_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDERecentDocument_maximumItems(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TDERecentDocumentJBridge::maximumItems(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentDocument_newTDERecentDocument(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentDocumentJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory(JNIEnv* env, jclass cls) +{ + TQString _qstring; + (void) cls; + _qstring = TDERecentDocumentJBridge::recentDocumentDirectory(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDERecentDocument_recentDocuments(JNIEnv* env, jclass cls) +{ + TQStringList _qlist; + (void) cls; + _qlist = TDERecentDocumentJBridge::recentDocuments(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + diff --git a/kdejava/koala/kdejava/TDERecentDocument.h b/kdejava/koala/kdejava/TDERecentDocument.h new file mode 100644 index 00000000..faa09bf0 --- /dev/null +++ b/kdejava/koala/kdejava/TDERecentDocument.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDERecentDocument__ +#define __org_kde_koala_TDERecentDocument__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_newTDERecentDocument (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentDocument_recentDocuments (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_clear (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentDocument_maximumItems (JNIEnv *env, jclass); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentDocument_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDERecentDocument__ */ diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.cpp b/kdejava/koala/kdejava/TDERecentFilesAction.cpp new file mode 100644 index 00000000..009343b8 --- /dev/null +++ b/kdejava/koala/kdejava/TDERecentFilesAction.cpp @@ -0,0 +1,592 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kurl.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDERecentFilesAction.h> + +class TDERecentFilesActionJBridge : public TDERecentFilesAction +{ +public: + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4,uint arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6,uint arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2,uint arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; + TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2) : TDERecentFilesAction(arg1,arg2) {}; + TDERecentFilesActionJBridge(TQObject* arg1) : TDERecentFilesAction(arg1) {}; + TDERecentFilesActionJBridge() : TDERecentFilesAction() {}; + void protected_itemSelected(const TQString& arg1) { + TDERecentFilesAction::itemSelected(arg1); + return; + } + void protected_menuAboutToShow() { + TDERecentFilesAction::menuAboutToShow(); + return; + } + void protected_menuItemActivated(int arg1) { + TDERecentFilesAction::menuItemActivated(arg1); + return; + } + void protected_slotClicked() { + TDERecentFilesAction::slotClicked(); + return; + } + void protected_slotActivated(int arg1) { + TDERecentFilesAction::slotActivated(arg1); + return; + } + void protected_slotActivated(const TQString& arg1) { + TDERecentFilesAction::slotActivated(arg1); + return; + } + void protected_slotActivated() { + TDERecentFilesAction::slotActivated(); + return; + } + ~TDERecentFilesActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","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.TDERecentFilesAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","clear")) { + TDESelectAction::clear(); + } + 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.TDERecentFilesAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotActivated")) { + TDERecentFilesAction::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; + } + bool isEditable() { + return QtSupport::booleanDelegate(this,"isEditable"); + } + 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.TDERecentFilesAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring name) +{ +static TQString* _qstring_name = 0; + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDERecentFilesAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_clearURLList(JNIEnv* env, jobject obj) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->clearURLList(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDERecentFilesAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERecentFilesAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDERecentFilesAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDERecentFilesAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_itemSelected(JNIEnv* env, jobject obj, jstring string) +{ +static TQString* _qstring_string = 0; + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_itemSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) +{ +static TQString* _qstring_groupname = 0; + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDERecentFilesAction_maxItems(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->maxItems(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow(JNIEnv* env, jobject obj) +{ + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) +{ + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDERecentFilesAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERecentFilesAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((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_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint maxItems) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_removeURL(JNIEnv* env, jobject obj, jobject url) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) +{ +static TQString* _qstring_groupname = 0; + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_setMaxItems(JNIEnv* env, jobject obj, jint maxItems) +{ + ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->setMaxItems((uint) maxItems); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_slotActivated__(JNIEnv* env, jobject obj) +{ + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDERecentFilesAction_slotClicked(JNIEnv* env, jobject obj) +{ + ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); + return; +} + diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.h b/kdejava/koala/kdejava/TDERecentFilesAction.h new file mode 100644 index 00000000..37498522 --- /dev/null +++ b/kdejava/koala/kdejava/TDERecentFilesAction.h @@ -0,0 +1,64 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDERecentFilesAction__ +#define __org_kde_koala_TDERecentFilesAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentFilesAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentFilesAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_maxItems (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_setMaxItems (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_removeURL (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_clearURLList (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_itemSelected (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuItemActivated (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotClicked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentFilesAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDERecentFilesAction__ */ diff --git a/kdejava/koala/kdejava/TDESelectAction.cpp b/kdejava/koala/kdejava/TDESelectAction.cpp new file mode 100644 index 00000000..6dc51bfc --- /dev/null +++ b/kdejava/koala/kdejava/TDESelectAction.cpp @@ -0,0 +1,643 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDESelectAction.h> + +class TDESelectActionJBridge : public TDESelectAction +{ +public: + TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; + TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDESelectAction(arg1,arg2,arg3) {}; + TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDESelectAction(arg1,arg2) {}; + TDESelectActionJBridge(const TQString& arg1) : TDESelectAction(arg1) {}; + TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDESelectAction(arg1,arg2) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2) : TDESelectAction(arg1,arg2) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDESelectActionJBridge(TQObject* arg1,const char* arg2) : TDESelectAction(arg1,arg2) {}; + TDESelectActionJBridge(TQObject* arg1) : TDESelectAction(arg1) {}; + TDESelectActionJBridge() : TDESelectAction() {}; + void public_clear() { + TDESelectAction::clear(); + return; + } + void protected_changeItem(int arg1,int arg2,const TQString& arg3) { + TDESelectAction::changeItem(arg1,arg2,arg3); + return; + } + TQStringList protected_comboItems() { + return (TQStringList) TDESelectAction::comboItems(); + } + void protected_updateCurrentItem(int arg1) { + TDESelectAction::updateCurrentItem(arg1); + return; + } + void protected_updateComboWidth(int arg1) { + TDESelectAction::updateComboWidth(arg1); + return; + } + void protected_updateItems(int arg1) { + TDESelectAction::updateItems(arg1); + return; + } + void protected_updateClear(int arg1) { + TDESelectAction::updateClear(arg1); + return; + } + void protected_slotActivated(int arg1) { + TDESelectAction::slotActivated(arg1); + return; + } + void protected_slotActivated(const TQString& arg1) { + TDESelectAction::slotActivated(arg1); + return; + } + void protected_slotActivated() { + TDESelectAction::slotActivated(); + return; + } + ~TDESelectActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","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.TDESelectAction","slotKeycodeChanged")) { + TDEAction::slotKeycodeChanged(); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void clear() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","clear")) { + TDESelectAction::clear(); + } + 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.TDESelectAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotActivated")) { + TDESelectAction::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; + } + bool isEditable() { + return QtSupport::booleanDelegate(this,"isEditable"); + } + 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.TDESelectAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jint index, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_changeItem((int) id, (int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint index, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDESelectAction*) QtSupport::getQt(env, obj))->changeItem((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDESelectAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_clear(JNIEnv* env, jobject obj) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->public_clear(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDESelectAction_comboItems(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_comboItems(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDESelectAction_comboWidth(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->comboWidth(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDESelectAction_currentItem(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->currentItem(); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDESelectAction_currentText(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDESelectAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDESelectAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDESelectAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDESelectAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDESelectAction_isEditable(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->isEditable(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDESelectAction_items(JNIEnv* env, jobject obj) +{ + TQStringList _qlist; + _qlist = ((TDESelectAction*) QtSupport::getQt(env, obj))->items(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDESelectAction_menuAccelsEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->menuAccelsEnabled(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDESelectAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDESelectActionJBridge((TQObject*) 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_TDESelectAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDESelectAction_popupMenu(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->removeAmpersandsInCombo(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setComboWidth(JNIEnv* env, jobject obj, jint width) +{ + ((TDESelectAction*) QtSupport::getQt(env, obj))->setComboWidth((int) width); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) +{ + ((TDESelectAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setEditable(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDESelectAction*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setItems(JNIEnv* env, jobject obj, jobjectArray lst) +{ +static TQStringList* _qlist_lst = 0; + ((TDESelectAction*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, lst, &_qlist_lst)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setMaxComboViewCount(JNIEnv* env, jobject obj, jint n) +{ + ((TDESelectAction*) QtSupport::getQt(env, obj))->setMaxComboViewCount((int) n); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled(JNIEnv* env, jobject obj, jboolean b) +{ + ((TDESelectAction*) QtSupport::getQt(env, obj))->setMenuAccelsEnabled((bool) b); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_slotActivated__(JNIEnv* env, jobject obj) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_slotActivated__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_updateClear(JNIEnv* env, jobject obj, jint id) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateClear((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_updateComboWidth(JNIEnv* env, jobject obj, jint id) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateComboWidth((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_updateCurrentItem(JNIEnv* env, jobject obj, jint id) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrentItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDESelectAction_updateItems(JNIEnv* env, jobject obj, jint id) +{ + ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateItems((int) id); + return; +} + diff --git a/kdejava/koala/kdejava/TDESelectAction.h b/kdejava/koala/kdejava/TDESelectAction.h new file mode 100644 index 00000000..8ea65cfd --- /dev/null +++ b/kdejava/koala/kdejava/TDESelectAction.h @@ -0,0 +1,71 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDESelectAction__ +#define __org_kde_koala_TDESelectAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isEditable (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_items (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_currentText (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_currentItem (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_comboWidth (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMaxComboViewCount (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_popupMenu (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_menuAccelsEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setCurrentItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setItems (JNIEnv *env, jobject, jobjectArray); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setEditable (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setComboWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_comboItems (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateCurrentItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateComboWidth (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateItems (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateClear (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDESelectAction__ */ diff --git a/kdejava/koala/kdejava/KSelector.cpp b/kdejava/koala/kdejava/TDESelector.cpp index e2300f38..1894e64b 100644 --- a/kdejava/koala/kdejava/KSelector.cpp +++ b/kdejava/koala/kdejava/TDESelector.cpp @@ -7,46 +7,46 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KSelector.h> +#include <kdejava/TDESelector.h> -class KSelectorJBridge : public KSelector +class TDESelectorJBridge : public TDESelector { public: - KSelectorJBridge(TQWidget* arg1,const char* arg2) : KSelector(arg1,arg2) {}; - KSelectorJBridge(TQWidget* arg1) : KSelector(arg1) {}; - KSelectorJBridge() : KSelector() {}; - KSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KSelector(arg1,arg2,arg3) {}; - KSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : KSelector(arg1,arg2) {}; - KSelectorJBridge(TQt::Orientation arg1) : KSelector(arg1) {}; + TDESelectorJBridge(TQWidget* arg1,const char* arg2) : TDESelector(arg1,arg2) {}; + TDESelectorJBridge(TQWidget* arg1) : TDESelector(arg1) {}; + TDESelectorJBridge() : TDESelector() {}; + TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TDESelector(arg1,arg2,arg3) {}; + TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : TDESelector(arg1,arg2) {}; + TDESelectorJBridge(TQt::Orientation arg1) : TDESelector(arg1) {}; void protected_drawContents(TQPainter* arg1) { - KSelector::drawContents(arg1); + TDESelector::drawContents(arg1); return; } void protected_drawArrow(TQPainter* arg1,bool arg2,const TQPoint& arg3) { - KSelector::drawArrow(arg1,arg2,arg3); + TDESelector::drawArrow(arg1,arg2,arg3); return; } void protected_valueChange() { - KSelector::valueChange(); + TDESelector::valueChange(); return; } void protected_paintEvent(TQPaintEvent* arg1) { - KSelector::paintEvent(arg1); + TDESelector::paintEvent(arg1); return; } void protected_mousePressEvent(TQMouseEvent* arg1) { - KSelector::mousePressEvent(arg1); + TDESelector::mousePressEvent(arg1); return; } void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KSelector::mouseMoveEvent(arg1); + TDESelector::mouseMoveEvent(arg1); return; } void protected_wheelEvent(TQWheelEvent* arg1) { - KSelector::wheelEvent(arg1); + TDESelector::wheelEvent(arg1); return; } - ~KSelectorJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDESelectorJBridge() {QtSupport::qtKeyDeleted(this);} int protected_positionFromValue(int arg1,int arg2) { return (int) TQRangeControl::positionFromValue(arg1,arg2); } @@ -70,7 +70,7 @@ public: } void drawContents(TQPainter* arg1) { if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KSelector::drawContents(arg1); + TDESelector::drawContents(arg1); } return; } @@ -105,13 +105,13 @@ public: return; } void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","stepChange")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","stepChange")) { TQRangeControl::stepChange(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -123,7 +123,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","show")) { TQWidget::show(); } return; @@ -135,7 +135,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","setFocus")) { TQWidget::setFocus(); } return; @@ -147,8 +147,8 @@ public: return; } void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","valueChange")) { - KSelector::valueChange(); + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","valueChange")) { + TDESelector::valueChange(); } return; } @@ -159,7 +159,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","hide")) { TQWidget::hide(); } return; @@ -184,7 +184,7 @@ public: } void paintEvent(TQPaintEvent* arg1) { if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KSelector::paintEvent(arg1); + TDESelector::paintEvent(arg1); } return; } @@ -195,7 +195,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -213,13 +213,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showMaximized")) { TQWidget::showMaximized(); } return; @@ -318,13 +318,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showNormal")) { TQWidget::showNormal(); } return; @@ -337,13 +337,13 @@ public: } void mousePressEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mousePressEvent(arg1); + TDESelector::mousePressEvent(arg1); } return; } void mouseMoveEvent(TQMouseEvent* arg1) { if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSelector::mouseMoveEvent(arg1); + TDESelector::mouseMoveEvent(arg1); } return; } @@ -354,7 +354,7 @@ public: return; } void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","rangeChange")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","rangeChange")) { TQRangeControl::rangeChange(); } return; @@ -372,14 +372,14 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","adjustSize")) { TQWidget::adjustSize(); } return; } void wheelEvent(TQWheelEvent* arg1) { if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KSelector::wheelEvent(arg1); + TDESelector::wheelEvent(arg1); } return; } @@ -420,7 +420,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSelector",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDESelector",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -433,7 +433,7 @@ public: return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSelector","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showMinimized")) { TQWidget::showMinimized(); } return; @@ -441,326 +441,326 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_addLine(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_addLine(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->addLine(); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addLine(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_addPage(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_addPage(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->addPage(); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addPage(); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_bound(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_koala_TDESelector_bound(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->bound((int) arg1); + jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->bound((int) arg1); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSelector_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KSelector*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDESelector*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelector_contentsRect(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_contentsRect(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KSelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDESelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_directSetValue(JNIEnv* env, jobject obj, jint val) +Java_org_kde_koala_TDESelector_directSetValue(JNIEnv* env, jobject obj, jint val) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KSelector_finalize(env, obj); + Java_org_kde_koala_TDESelector_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_drawArrow(JNIEnv* env, jobject obj, jobject painter, jboolean show, jobject pos) +Java_org_kde_koala_TDESelector_drawArrow(JNIEnv* env, jobject obj, jobject painter, jboolean show, jobject pos) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawArrow((TQPainter*) QtSupport::getQt(env, painter), (bool) show, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawArrow((TQPainter*) QtSupport::getQt(env, painter), (bool) show, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDESelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSelector*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDESelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDESelector*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelector_indent(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_indent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KSelector*) QtSupport::getQt(env, obj))->indent(); + jboolean xret = (jboolean) ((TDESelector*) QtSupport::getQt(env, obj))->indent(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSelector_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_lineStep(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_lineStep(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->lineStep(); + jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->lineStep(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_maxValue(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_maxValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KSelector*) QtSupport::getQt(env, obj))->maxValue(); + jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->maxValue(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSelector_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_minValue(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_minValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KSelector*) QtSupport::getQt(env, obj))->minValue(); + jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->minValue(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDESelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) +Java_org_kde_koala_TDESelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_newKSelector__(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_newTDESelector__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge()); + QtSupport::setQt(env, obj, new TDESelectorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_newKSelector__I(JNIEnv* env, jobject obj, jint o) +Java_org_kde_koala_TDESelector_newTDESelector__I(JNIEnv* env, jobject obj, jint o) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge((TQt::Orientation) o)); + QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_newKSelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) +Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_newKSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) +Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (TQWidget*) 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_KSelector_newKSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDESelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_newKSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDESelectorJBridge((TQWidget*) 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_KSelector_orientation(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KSelector*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_pageStep(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_pageStep(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->pageStep(); + jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->pageStep(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_paintEvent(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDESelector_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) +Java_org_kde_koala_TDESelector_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) { - jint xret = (jint) ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); + jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_prevValue(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_prevValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_rangeChange(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_rangeChange(JNIEnv* env, jobject obj) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setIndent(JNIEnv* env, jobject obj, jboolean i) +Java_org_kde_koala_TDESelector_setIndent(JNIEnv* env, jobject obj, jboolean i) { - ((KSelector*) QtSupport::getQt(env, obj))->setIndent((bool) i); + ((TDESelector*) QtSupport::getQt(env, obj))->setIndent((bool) i); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setMaxValue(JNIEnv* env, jobject obj, jint value) +Java_org_kde_koala_TDESelector_setMaxValue(JNIEnv* env, jobject obj, jint value) { - ((KSelector*) QtSupport::getQt(env, obj))->setMaxValue((int) value); + ((TDESelector*) QtSupport::getQt(env, obj))->setMaxValue((int) value); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setMinValue(JNIEnv* env, jobject obj, jint value) +Java_org_kde_koala_TDESelector_setMinValue(JNIEnv* env, jobject obj, jint value) { - ((KSelector*) QtSupport::getQt(env, obj))->setMinValue((int) value); + ((TDESelector*) QtSupport::getQt(env, obj))->setMinValue((int) value); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +Java_org_kde_koala_TDESelector_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setSteps(JNIEnv* env, jobject obj, jint line, jint page) +Java_org_kde_koala_TDESelector_setSteps(JNIEnv* env, jobject obj, jint line, jint page) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_setValue(JNIEnv* env, jobject obj, jint value) +Java_org_kde_koala_TDESelector_setValue(JNIEnv* env, jobject obj, jint value) { - ((KSelector*) QtSupport::getQt(env, obj))->setValue((int) value); + ((TDESelector*) QtSupport::getQt(env, obj))->setValue((int) value); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_stepChange(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_stepChange(JNIEnv* env, jobject obj) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_subtractLine(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_subtractLine(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->subtractLine(); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractLine(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_subtractPage(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_subtractPage(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(KSelector*) QtSupport::getQt(env, obj))->subtractPage(); + ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractPage(); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_valueChange(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_valueChange(JNIEnv* env, jobject obj) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); return; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) +Java_org_kde_koala_TDESelector_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) { - jint xret = (jint) ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); + jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_koala_KSelector_value(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDESelector_value(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KSelector*) QtSupport::getQt(env, obj))->value(); + jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->value(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KSelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDESelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((KSelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); return; } diff --git a/kdejava/koala/kdejava/TDESelector.h b/kdejava/koala/kdejava/TDESelector.h new file mode 100644 index 00000000..277ce77d --- /dev/null +++ b/kdejava/koala/kdejava/TDESelector.h @@ -0,0 +1,61 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDESelector__ +#define __org_kde_koala_TDESelector__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelector_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_orientation (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_contentsRect (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setIndent (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_indent (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_value (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMinValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_minValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMaxValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_maxValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawArrow (JNIEnv *env, jobject, jobject, jboolean, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_valueChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_paintEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_wheelEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_isDisposed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractPage (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setRange (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_lineStep (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_pageStep (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setSteps (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_bound (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_positionFromValue (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_valueFromPosition (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_directSetValue (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_prevValue (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_rangeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_stepChange (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDESelector__ */ diff --git a/kdejava/koala/kdejava/TDEShortcut.cpp b/kdejava/koala/kdejava/TDEShortcut.cpp new file mode 100644 index 00000000..84f035a3 --- /dev/null +++ b/kdejava/koala/kdejava/TDEShortcut.cpp @@ -0,0 +1,303 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <tqkeysequence.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEShortcut.h> + +class TDEShortcutJBridge : public TDEShortcut +{ +public: + TDEShortcutJBridge() : TDEShortcut() {}; + TDEShortcutJBridge(int arg1) : TDEShortcut(arg1) {}; + TDEShortcutJBridge(const TQKeySequence& arg1) : TDEShortcut(arg1) {}; + TDEShortcutJBridge(const KKey& arg1) : TDEShortcut(arg1) {}; + TDEShortcutJBridge(const KKeySequence& arg1) : TDEShortcut(arg1) {}; + TDEShortcutJBridge(const TDEShortcut& arg1) : TDEShortcut(arg1) {}; + TDEShortcutJBridge(const char* arg1) : TDEShortcut(arg1) {}; + ~TDEShortcutJBridge() {QtSupport::qtKeyDeleted(this);} +}; + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject spec) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKey&)*(const KKey*) QtSupport::getQt(env, spec)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_clear(JNIEnv* env, jobject obj) +{ + ((TDEShortcut*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcut_compare(JNIEnv* env, jobject obj, jobject shortcut) +{ + jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->compare((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcut_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEShortcut_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj)) { + delete (TDEShortcut*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__I(JNIEnv* env, jobject obj, jint keyQt) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((int) keyQt); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) +{ +static TQString* _qstring_shortcut = 0; + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, shortcut, &_qstring_shortcut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_isNull(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->isNull(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcut_keyCodeQt(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->keyCodeQt(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__I(JNIEnv* env, jobject obj, jint keyQt) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((int) keyQt)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) +{ +static TQCString* _qstring_shortcut = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((const char*) QtSupport::toCharString(env, shortcut, &_qstring_shortcut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcut_nil(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEShortcutJBridge::null(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_op_1equals(JNIEnv* env, jobject obj, jobject cut) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator==((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_op_1lt(JNIEnv* env, jobject obj, jobject cut) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator<((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_op_1not_1equals(JNIEnv* env, jobject obj, jobject cut) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator!=((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEShortcut_remove(JNIEnv* env, jobject obj, jobject keySeq) +{ + ((TDEShortcut*) QtSupport::getQt(env, obj))->remove((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcut_seq(JNIEnv* env, jobject obj, jint i) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &((TDEShortcut*) QtSupport::getQt(env, obj))->seq((uint) i), "org.kde.koala.KKeySequence"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcut_setSeq(JNIEnv* env, jobject obj, jint i, jobject keySeq) +{ + jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->setSeq((uint) i, (const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcut_toStringInternal__(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject pcutDefault) +{ + TQString _qstring; + _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal((const TDEShortcut*) QtSupport::getQt(env, pcutDefault)); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcut_toString(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); +} + diff --git a/kdejava/koala/kdejava/TDEShortcut.h b/kdejava/koala/kdejava/TDEShortcut.h new file mode 100644 index 00000000..3f20ec58 --- /dev/null +++ b/kdejava/koala/kdejava/TDEShortcut.h @@ -0,0 +1,54 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEShortcut__ +#define __org_kde_koala_TDEShortcut__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_clear (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_count (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_seq (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_keyCodeQt (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isNull (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_compare (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1not_1equals (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1lt (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_setSeq (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_remove (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toString (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_nil (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEShortcut__ */ diff --git a/kdejava/koala/kdejava/TDEShortcutList.cpp b/kdejava/koala/kdejava/TDEShortcutList.cpp new file mode 100644 index 00000000..82f5e204 --- /dev/null +++ b/kdejava/koala/kdejava/TDEShortcutList.cpp @@ -0,0 +1,181 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <tqvariant.h> +#include <kshortcutlist.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEShortcutList.h> + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcutList_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName) +{ +static TQString* _qstring_sName = 0; + jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) +{ + jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcutList_instance(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcutList_label(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcutList_name(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_readSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_save(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->save(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) +{ + TQString _qstring; + _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_writeSettings__(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll, jboolean bGlobal) +{ +static TQString* _qstring_sConfigGroup = 0; + jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll, (bool) bGlobal); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEShortcutList.h b/kdejava/koala/kdejava/TDEShortcutList.h new file mode 100644 index 00000000..7a4e8776 --- /dev/null +++ b/kdejava/koala/kdejava/TDEShortcutList.h @@ -0,0 +1,41 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEShortcutList__ +#define __org_kde_koala_TDEShortcutList__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_count (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_name (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_label (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_whatsThis (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcut (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isConfigurable (JNIEnv *env, jobject, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isGlobal (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_instance (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_getOther (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_save (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__ (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEStdAccel.cpp b/kdejava/koala/kdejava/TDEStdAccel.cpp new file mode 100644 index 00000000..432425bc --- /dev/null +++ b/kdejava/koala/kdejava/TDEStdAccel.cpp @@ -0,0 +1,460 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqstring.h> +#include <kstdaccel.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEStdAccel.h> + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_addBookmark(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::addBookmark(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_back(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::back(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_backwardWord(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::backwardWord(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_beginningOfLine(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::beginningOfLine(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_close(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::close(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_completion(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::completion(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_copy(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::copy(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_cut(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::cut(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_deleteWordBack(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordBack(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_deleteWordForward(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordForward(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_endOfLine(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::endOfLine(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_end(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::end(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_findNext(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findNext(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_findPrev(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findPrev(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEStdAccel_findStdAccel(JNIEnv* env, jclass cls, jobject keySeq) +{ + (void) cls; + jint xret = (jint) TDEStdAccel::findStdAccel((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_find(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::find(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_forwardWord(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forwardWord(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_forward(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forward(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_fullScreen(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::fullScreen(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_gotoLine(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::gotoLine(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_help(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::help(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_home(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::home(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEStdAccel_label(JNIEnv* env, jclass cls, jint id) +{ + TQString _qstring; + (void) cls; + _qstring = TDEStdAccel::label((TDEStdAccel::StdAccel) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEStdAccel_name(JNIEnv* env, jclass cls, jint id) +{ + TQString _qstring; + (void) cls; + _qstring = TDEStdAccel::name((TDEStdAccel::StdAccel) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_nextCompletion(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::nextCompletion(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_next(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::next(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_openNew(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::openNew(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_open(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::open(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_pasteSelection(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::pasteSelection(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_paste(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::paste(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_popupMenuContext(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::popupMenuContext(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_prevCompletion(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prevCompletion(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_print(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::print(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_prior(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prior(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_quit(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::quit(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_redo(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::redo(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_reload(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::reload(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_replace(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::replace(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_rotateDown(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateDown(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_rotateUp(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateUp(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_save(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::save(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_selectAll(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::selectAll(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_shortcutDefault3(JNIEnv* env, jclass cls, jint id) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault3((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_shortcutDefault4(JNIEnv* env, jclass cls, jint id) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault4((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_shortcutDefault(JNIEnv* env, jclass cls, jint id) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_shortcut(JNIEnv* env, jclass cls, jint id) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::shortcut((TDEStdAccel::StdAccel) id), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_showMenubar(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::showMenubar(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_substringCompletion(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::substringCompletion(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_tabNext(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabNext(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_tabPrev(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabPrev(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_undo(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::undo(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_up(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::up(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_whatsThis__(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::whatsThis(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEStdAccel_whatsThis__I(JNIEnv* env, jclass cls, jint id) +{ + TQString _qstring; + (void) cls; + _qstring = TDEStdAccel::whatsThis((TDEStdAccel::StdAccel) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_zoomIn(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomIn(), "org.kde.koala.TDEShortcut"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEStdAccel_zoomOut(JNIEnv* env, jclass cls) +{ + (void) cls; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomOut(), "org.kde.koala.TDEShortcut"); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEStdAccel.h b/kdejava/koala/kdejava/TDEStdAccel.h new file mode 100644 index 00000000..296d6d1c --- /dev/null +++ b/kdejava/koala/kdejava/TDEStdAccel.h @@ -0,0 +1,74 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEStdAccel__ +#define __org_kde_koala_TDEStdAccel__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcut (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_name (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_label (JNIEnv *env, jclass, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__I (JNIEnv *env, jclass, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStdAccel_findStdAccel (JNIEnv *env, jclass, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault3 (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault4 (JNIEnv *env, jclass, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_open (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_openNew (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_close (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_save (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_print (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_quit (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_undo (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_redo (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_cut (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_copy (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_paste (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_pasteSelection (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_selectAll (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordBack (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordForward (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_find (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findNext (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findPrev (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_replace (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomIn (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomOut (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_home (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_end (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_beginningOfLine (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_endOfLine (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prior (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_next (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_gotoLine (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_addBookmark (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabNext (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabPrev (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_fullScreen (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_help (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_completion (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prevCompletion (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_nextCompletion (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_substringCompletion (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateUp (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateDown (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_popupMenuContext (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__ (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_reload (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_up (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_back (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forward (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_backwardWord (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forwardWord (JNIEnv *env, jclass); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_showMenubar (JNIEnv *env, jclass); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEStdAccel__ */ diff --git a/kdejava/koala/kdejava/TDEToggleAction.cpp b/kdejava/koala/kdejava/TDEToggleAction.cpp new file mode 100644 index 00000000..af9dfd8a --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleAction.cpp @@ -0,0 +1,480 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <kguiitem.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToggleAction.h> + +class TDEToggleActionJBridge : public TDEToggleAction +{ +public: + TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; + TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEToggleAction(arg1,arg2,arg3) {}; + TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEToggleAction(arg1,arg2) {}; + TDEToggleActionJBridge(const TQString& arg1) : TDEToggleAction(arg1) {}; + TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEToggleAction(arg1,arg2) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToggleAction(arg1,arg2) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToggleActionJBridge(TQObject* arg1,const char* arg2) : TDEToggleAction(arg1,arg2) {}; + TDEToggleActionJBridge(TQObject* arg1) : TDEToggleAction(arg1) {}; + TDEToggleActionJBridge() : TDEToggleAction() {}; + void protected_updateChecked(int arg1) { + TDEToggleAction::updateChecked(arg1); + return; + } + void protected_slotActivated() { + TDEToggleAction::slotActivated(); + return; + } + ~TDEToggleActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","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.TDEToggleAction","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.TDEToggleAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","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.TDEToggleAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToggleAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToggleAction_finalize(env, obj); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToggleAction_exclusiveGroup(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->exclusiveGroup(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEToggleAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToggleAction_isChecked(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToggleAction*) QtSupport::getQt(env, obj))->isChecked(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToggleAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToggleAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_pix = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, 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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, 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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, 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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, 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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleActionJBridge((TQObject*) 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_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_setCheckedState(JNIEnv* env, jobject obj, jobject checkedItem) +{ + ((TDEToggleAction*) QtSupport::getQt(env, obj))->setCheckedState((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, checkedItem)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEToggleAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_setExclusiveGroup(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((TDEToggleAction*) QtSupport::getQt(env, obj))->setExclusiveGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_slotActivated(JNIEnv* env, jobject obj) +{ + ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToggleAction_toolTip(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->toolTip(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleAction_updateChecked(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_updateChecked((int) id); + return; +} + diff --git a/kdejava/koala/kdejava/TDEToggleAction.h b/kdejava/koala/kdejava/TDEToggleAction.h new file mode 100644 index 00000000..c019736c --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleAction.h @@ -0,0 +1,54 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToggleAction__ +#define __org_kde_koala_TDEToggleAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isChecked (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_exclusiveGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setExclusiveGroup (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setCheckedState (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_toolTip (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_updateChecked (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_slotActivated (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToggleAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp b/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp new file mode 100644 index 00000000..47a25f28 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp @@ -0,0 +1,170 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToggleFullScreenAction.h> + +class TDEToggleFullScreenActionJBridge : public TDEToggleFullScreenAction +{ +public: + TDEToggleFullScreenActionJBridge(const TDEShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : TDEToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TDEToggleFullScreenAction::eventFilter(arg1,arg2); + } + ~TDEToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","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.TDEToggleFullScreenAction","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.TDEToggleFullScreenAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","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.TDEToggleFullScreenAction",object,event)) { + return TDEToggleFullScreenAction::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToggleFullScreenAction_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TDEToggleFullScreenActionJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleFullScreenAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEToggleFullScreenAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction(JNIEnv* env, jobject obj, jobject cut, jobject receiver, jstring slot, jobject parent, jobject window, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToggleFullScreenActionJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToggleFullScreenAction_setWindow(JNIEnv* env, jobject obj, jobject window) +{ + ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); + return; +} + diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.h b/kdejava/koala/kdejava/TDEToggleFullScreenAction.h new file mode 100644 index 00000000..83115244 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleFullScreenAction.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToggleFullScreenAction__ +#define __org_kde_koala_TDEToggleFullScreenAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setWindow (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToggleFullScreenAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp b/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp new file mode 100644 index 00000000..492e10e9 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp @@ -0,0 +1,189 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.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; +} + diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.h b/kdejava/koala/kdejava/TDEToggleToolBarAction.h new file mode 100644 index 00000000..34f1cb0f --- /dev/null +++ b/kdejava/koala/kdejava/TDEToggleToolBarAction.h @@ -0,0 +1,29 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToggleToolBarAction__ +#define __org_kde_koala_TDEToggleToolBarAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleToolBarAction_className (JNIEnv *env, jobject); +extern 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, jstring, jstring, jobject, jstring); +extern 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, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_toolBar (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_setChecked (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleToolBarAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToggleToolBarAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBar.cpp b/kdejava/koala/kdejava/TDEToolBar.cpp new file mode 100644 index 00000000..e0badf68 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBar.cpp @@ -0,0 +1,1712 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqsize.h> +#include <tqsizepolicy.h> +#include <ktoolbar.h> +#include <tqcombobox.h> +#include <tqpixmap.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <tqdom.h> +#include <tqstringlist.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToolBar.h> + +class TDEToolBarJBridge : public TDEToolBar +{ +public: + TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; + TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; + TDEToolBarJBridge(TQWidget* arg1,const char* arg2) : TDEToolBar(arg1,arg2) {}; + TDEToolBarJBridge(TQWidget* arg1) : TDEToolBar(arg1) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2) : TDEToolBar(arg1,arg2) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; + TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2) : TDEToolBar(arg1,arg2) {}; + void protected_mousePressEvent(TQMouseEvent* arg1) { + TDEToolBar::mousePressEvent(arg1); + return; + } + void protected_childEvent(TQChildEvent* arg1) { + TDEToolBar::childEvent(arg1); + return; + } + void protected_showEvent(TQShowEvent* arg1) { + TDEToolBar::showEvent(arg1); + return; + } + void protected_resizeEvent(TQResizeEvent* arg1) { + TDEToolBar::resizeEvent(arg1); + return; + } + bool protected_event(TQEvent* arg1) { + return (bool) TDEToolBar::event(arg1); + } + void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2,bool arg3) { + TDEToolBar::applyAppearanceSettings(arg1,arg2,arg3); + return; + } + void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2) { + TDEToolBar::applyAppearanceSettings(arg1,arg2); + return; + } + TQString protected_settingsGroup() { + return (TQString) TDEToolBar::settingsGroup(); + } + ~TDEToolBarJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TDEToolBar::resizeEvent(arg1); + } + return; + } + void setFrameRect(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { + TQFrame::setFrameRect(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(arg1); + } + return; + } + void paletteChange(const TQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { + TQWidget::paletteChange(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQFrame::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQDockWindow::hideEvent(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQWidget::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TDEToolBar::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void dock() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","dock")) { + TQDockWindow::dock(); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void setWidget(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { + TQDockWindow::setWidget(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TDEToolBar::childEvent(arg1); + } + return; + } + void undock() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","undock")) { + TQDockWindow::undock(); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TQWidget::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setIcon(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEToolBar::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void fontChange(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { + TQWidget::fontChange(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQWidget::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQWidget::keyReleaseEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQDockWindow::contextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void frameChanged() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","frameChanged")) { + TQFrame::frameChanged(); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_addConnection(JNIEnv* env, jobject obj, jint id, jstring signal, jobject receiver, jstring slot) +{ +static TQCString* _qstring_signal = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->addConnection((int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_alignItemRight__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_alignItemRight__IZ(JNIEnv* env, jobject obj, jint id, jboolean right) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id, (bool) right); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_animatedWidget(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->animatedWidget((int) id), "org.kde.koala.KAnimWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring _configGroup) +{ +static TQString* _qstring__configGroup = 0; + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring _configGroup, jboolean forceGlobal) +{ +static TQString* _qstring__configGroup = 0; + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup), (bool) forceGlobal); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring configGroup) +{ +static TQString* _qstring_configGroup = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring configGroup, jboolean force) +{ +static TQString* _qstring_configGroup = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup), (bool) force); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_barPos(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->barPos(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_childEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_clearCombo(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->clearCombo((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_clear(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->clear(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_contextMenuEnabled(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->contextMenuEnabled(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_count(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->count(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToolBar_finalize(env, obj); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEToolBar*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_fullSize(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->fullSize(); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_getButton(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getButton((int) id), "org.kde.koala.TDEToolBarButton"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_getComboItem__I(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_getComboItem__II(JNIEnv* env, jobject obj, jint id, jint index) +{ + TQString _qstring; + _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id, (int) index); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_getCombo(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getCombo((int) id), "org.kde.koala.KComboBox"); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_getLinedText(JNIEnv* env, jobject obj, jint id) +{ + TQString _qstring; + _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getLinedText((int) id); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_getLined(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getLined((int) id), "org.kde.koala.KLineEdit"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_getWidget(JNIEnv* env, jobject obj, jint id) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getWidget((int) id), "org.kde.qt.TQWidget"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_hideItem(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->hideItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_hide(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->hide(); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_highlightSetting(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TDEToolBarJBridge::highlightSetting(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_highlight(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->highlight(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_iconSizeDefault(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSizeDefault(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_iconSize(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSize(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_iconTextId(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconText(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_iconTextSetting(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jint xret = (jint) TDEToolBarJBridge::iconTextSetting(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_idAt(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->idAt((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons) +{ +static TQString* _qstring_icons = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons, jint index) +{ +static TQString* _qstring_icons = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id) +{ +static TQString* _qstring_icon = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index, jobject _instance) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text) +{ +static TQString* _qstring_icon = 0; +static TQString* _qstring__text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text, jint index) +{ +static TQString* _qstring_icon = 0; +static TQString* _qstring__text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled) +{ +static TQString* _qstring_icon = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text) +{ +static TQString* _qstring_icon = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index) +{ +static TQString* _qstring_icon = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index, jobject _instance) +{ +static TQString* _qstring_icon = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot) +{ +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) +{ +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) +{ +static TQCString* _qstring_signal = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) +{ +static TQCString* _qstring_signal = 0; +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text) +{ +static TQString* _qstring__text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text, jint index) +{ +static TQString* _qstring__text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_insertComboItem(JNIEnv* env, jobject obj, jint id, jstring text, jint index) +{ +static TQString* _qstring_text = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_insertComboList(JNIEnv* env, jobject obj, jint id, jobjectArray list, jint index) +{ +static TQStringList* _qlist_list = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboList((int) id, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) +{ +static TQStringList* _qlist_list = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_tooltiptext = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLineSeparator__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLineSeparator__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLineSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index, (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_toolTipText = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_toolTipText = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size, jint index) +{ +static TQString* _qstring_text = 0; +static TQCString* _qstring_signal = 0; +static TQString* _qstring_toolTipText = 0; + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size, (int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertSeparator__(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index, (int) id); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget, jint index) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget), (int) index); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_isButtonOn(JNIEnv* env, jobject obj, jint id) +{ + jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->isButtonOn((int) id); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBar_itemIndex(JNIEnv* env, jobject obj, jint id) +{ + jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->itemIndex((int) id); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_loadState(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->loadState((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jobject parentWindow, jint dock) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) 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_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle, jboolean readConfig) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_positionYourself__(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_positionYourself__Z(JNIEnv* env, jobject obj, jboolean force) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself((bool) force); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_removeComboItem(JNIEnv* env, jobject obj, jint id, jint index) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->removeComboItem((int) id, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_removeItemDelayed(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItemDelayed((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_removeItem(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_saveSettings(JNIEnv* env, jobject obj, jobject config, jstring configGroup) +{ +static TQString* _qstring_configGroup = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->saveSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_saveState__(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setAutoRepeat__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id, (bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setBarPos(JNIEnv* env, jobject obj, jint bpos) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setBarPos((TDEToolBar::BarPosition) bpos); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setButtonIconSet(JNIEnv* env, jobject obj, jint id, jobject iconset) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIconSet((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setButtonIcon(JNIEnv* env, jobject obj, jint id, jstring _icon) +{ +static TQString* _qstring__icon = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIcon((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setButtonPixmap(JNIEnv* env, jobject obj, jint id, jobject _pixmap) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonPixmap((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, _pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setButton(JNIEnv* env, jobject obj, jint id, jboolean flag) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setButton((int) id, (bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setCurrentComboItem(JNIEnv* env, jobject obj, jint id, jint index) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setCurrentComboItem((int) id, (int) index); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint id, jobject _popup) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jint id, jobject _popup, jboolean toggle) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup), (bool) toggle); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setEnableContextMenu__(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z(JNIEnv* env, jobject obj, jboolean enable) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu((bool) enable); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setFlat(JNIEnv* env, jobject obj, jboolean flag) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setFlat((bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setFullSize__(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setFullSize__Z(JNIEnv* env, jobject obj, jboolean flag) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize((bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setIconSize__I(JNIEnv* env, jobject obj, jint size) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setIconSize__IZ(JNIEnv* env, jobject obj, jint size, jboolean update) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size, (bool) update); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setIconText__I(JNIEnv* env, jobject obj, jint it) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setIconText__IZ(JNIEnv* env, jobject obj, jint it, jboolean update) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it, (bool) update); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setItemAutoSized__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ(JNIEnv* env, jobject obj, jint id, jboolean yes) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id, (bool) yes); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enabled) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enabled); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setItemNoStyle__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ(JNIEnv* env, jobject obj, jint id, jboolean no_style) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id, (bool) no_style); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setLinedText(JNIEnv* env, jobject obj, jint id, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->setLinedText((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject w) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, w)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setText(JNIEnv* env, jobject obj, jstring txt) +{ +static TQString* _qstring_txt = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setTitle(JNIEnv* env, jobject obj, jstring _title) +{ +static TQString* _qstring__title = 0; + ((TDEToolBar*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, _title, &_qstring__title)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setToggle__I(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setToggle__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id, (bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_setXMLGUIClient(JNIEnv* env, jobject obj, jobject client) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->setXMLGUIClient((KXMLGUIClient*) QtSupport::getQt(env, client)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_settingsGroup(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_showEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_showItem(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->showItem((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_show(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->show(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBar_sizePolicy(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBar*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + return xret; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBar_text(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_toggleButton(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->toggleButton((int) id); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBar_transparentSetting(JNIEnv* env, jclass cls) +{ + (void) cls; + (void) env; + jboolean xret = (jboolean) TDEToolBarJBridge::transparentSetting(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_updateRects__(JNIEnv* env, jobject obj) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBar_updateRects__Z(JNIEnv* env, jobject obj, jboolean arg1) +{ + ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects((bool) arg1); + return; +} + diff --git a/kdejava/koala/kdejava/TDEToolBar.h b/kdejava/koala/kdejava/TDEToolBar.h new file mode 100644 index 00000000..d62daea8 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBar.h @@ -0,0 +1,180 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToolBar__ +#define __org_kde_koala_TDEToolBar__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__ (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jstring, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring, jstring); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_animatedWidget (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_addConnection (JNIEnv *env, jobject, jint, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIcon (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonPixmap (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIconSet (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jint, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_toggleButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButton (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isButtonOn (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setLinedText (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getLinedText (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboItem (JNIEnv *env, jobject, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboList (JNIEnv *env, jobject, jint, jobjectArray, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeComboItem (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setCurrentComboItem (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clearCombo (JNIEnv *env, jobject, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__II (JNIEnv *env, jobject, jint, jint); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getCombo (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getLined (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getWidget (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clear (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItemDelayed (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hideItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showItem (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_itemIndex (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_idAt (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_fullSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setBarPos (JNIEnv *env, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_barPos (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setTitle (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextId (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSize (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSizeDefault (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__ (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_contextMenuEnabled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ (JNIEnv *env, jobject, jint, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__I (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFlat (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_count (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveSettings (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setXMLGUIClient (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_text (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlight (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hide (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_show (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_loadState (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlightSetting (JNIEnv *env, jclass); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_transparentSetting (JNIEnv *env, jclass); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextSetting (JNIEnv *env, jclass); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_childEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_resizeEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_settingsGroup (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToolBar__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarButton.cpp b/kdejava/koala/kdejava/TDEToolBarButton.cpp new file mode 100644 index 00000000..ffc43c32 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarButton.cpp @@ -0,0 +1,893 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqsize.h> +#include <tqpixmap.h> +#include <tqiconset.h> +#include <tqstring.h> +#include <ktoolbarbutton.h> +#include <tqpalette.h> +#include <tqnamespace.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToolBarButton.h> + +class TDEToolBarButtonJBridge : public TDEToolBarButton +{ +public: + TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5,TDEInstance* arg6) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; + TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; + TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; + TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; + TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; + TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; + TDEToolBarButtonJBridge(TQWidget* arg1,const char* arg2) : TDEToolBarButton(arg1,arg2) {}; + TDEToolBarButtonJBridge(TQWidget* arg1) : TDEToolBarButton(arg1) {}; + TDEToolBarButtonJBridge() : TDEToolBarButton() {}; + bool protected_event(TQEvent* arg1) { + return (bool) TDEToolBarButton::event(arg1); + } + void protected_paletteChange(const TQPalette& arg1) { + TDEToolBarButton::paletteChange(arg1); + return; + } + void protected_leaveEvent(TQEvent* arg1) { + TDEToolBarButton::leaveEvent(arg1); + return; + } + void protected_enterEvent(TQEvent* arg1) { + TDEToolBarButton::enterEvent(arg1); + return; + } + void protected_drawButton(TQPainter* arg1) { + TDEToolBarButton::drawButton(arg1); + return; + } + bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { + return (bool) TDEToolBarButton::eventFilter(arg1,arg2); + } + void protected_mousePressEvent(TQMouseEvent* arg1) { + TDEToolBarButton::mousePressEvent(arg1); + return; + } + void protected_mouseReleaseEvent(TQMouseEvent* arg1) { + TDEToolBarButton::mouseReleaseEvent(arg1); + return; + } + void protected_showMenu() { + TDEToolBarButton::showMenu(); + return; + } + TQSize protected_sizeHint() { + return (TQSize) TDEToolBarButton::sizeHint(); + } + TQSize protected_minimumSizeHint() { + return (TQSize) TDEToolBarButton::minimumSizeHint(); + } + TQSize protected_minimumSize() { + return (TQSize) TDEToolBarButton::minimumSize(); + } + bool protected_isRaised() { + return (bool) TDEToolBarButton::isRaised(); + } + bool protected_isActive() { + return (bool) TDEToolBarButton::isActive(); + } + int protected_iconTextMode() { + return (int) TDEToolBarButton::iconTextMode(); + } + void protected_slotClicked() { + TDEToolBarButton::slotClicked(); + return; + } + void protected_slotPressed() { + TDEToolBarButton::slotPressed(); + return; + } + void protected_slotReleased() { + TDEToolBarButton::slotReleased(); + return; + } + void protected_slotToggled() { + TDEToolBarButton::slotToggled(); + return; + } + void protected_slotDelayTimeout() { + TDEToolBarButton::slotDelayTimeout(); + return; + } + ~TDEToolBarButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { + TQWidget::dragLeaveEvent(arg1); + } + return; + } + void setMask(const TQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { + TQWidget::setMask(arg1); + } + return; + } + void resizeEvent(TQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { + TQWidget::resizeEvent(arg1); + } + return; + } + void mouseDoubleClickEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQWidget::mouseDoubleClickEvent(arg1); + } + return; + } + void setActiveWindow() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setActiveWindow")) { + TQWidget::setActiveWindow(); + } + return; + } + void dragEnterEvent(TQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { + TQWidget::dragEnterEvent(arg1); + } + return; + } + void show() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","show")) { + TQWidget::show(); + } + return; + } + void focusOutEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQButton::focusOutEvent(arg1); + } + return; + } + void setFocus() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setFocus")) { + TQWidget::setFocus(); + } + return; + } + void dragMoveEvent(TQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { + TQWidget::dragMoveEvent(arg1); + } + return; + } + void styleChange(TQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { + TQWidget::styleChange(arg1); + } + return; + } + void hide() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","hide")) { + TQWidget::hide(); + } + return; + } + void setPaletteBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setPaletteBackgroundColor(arg1); + } + return; + } + void setEraseColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setEraseColor(arg1); + } + return; + } + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + return; + } + void paintEvent(TQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { + TQButton::paintEvent(arg1); + } + return; + } + void imStartEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imStartEvent(arg1); + } + return; + } + void unsetCursor() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","unsetCursor")) { + TQWidget::unsetCursor(); + } + return; + } + void hideEvent(TQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { + TQWidget::hideEvent(arg1); + } + return; + } + void setIconSet(const TQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { + TDEToolBarButton::setIconSet(arg1); + } + return; + } + void moveEvent(TQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { + TQToolButton::moveEvent(arg1); + } + return; + } + void polish() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","polish")) { + TQWidget::polish(); + } + return; + } + void showMaximized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showMaximized")) { + TQWidget::showMaximized(); + } + return; + } + void setBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setBackgroundPixmap(arg1); + } + return; + } + void showEvent(TQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { + TQWidget::showEvent(arg1); + } + return; + } + void keyPressEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQButton::keyPressEvent(arg1); + } + return; + } + bool customWhatsThis() { + return QtSupport::booleanDelegate(this,"customWhatsThis"); + } + void setPaletteBackgroundPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setPaletteBackgroundPixmap(arg1); + } + return; + } + void setAccel(const TQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { + TQButton::setAccel(arg1); + } + return; + } + void setCursor(const TQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { + TQWidget::setCursor(arg1); + } + return; + } + void closeEvent(TQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { + TQWidget::closeEvent(arg1); + } + return; + } + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); + } + return; + } + void enterEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TDEToolBarButton::enterEvent(arg1); + } + return; + } + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); + } + return; + } + void mouseReleaseEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEToolBarButton::mouseReleaseEvent(arg1); + } + return; + } + void setErasePixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQWidget::setErasePixmap(arg1); + } + return; + } + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); + } + return; + } + void dropEvent(TQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { + TQWidget::dropEvent(arg1); + } + return; + } + void leaveEvent(TQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { + TDEToolBarButton::leaveEvent(arg1); + } + return; + } + void setIcon(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TDEToolBarButton::setIcon(arg1); + } + return; + } + void updateMask() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","updateMask")) { + TQWidget::updateMask(); + } + return; + } + void showNormal() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showNormal")) { + TQWidget::showNormal(); + } + return; + } + void imComposeEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imComposeEvent(arg1); + } + return; + } + void mousePressEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TDEToolBarButton::mousePressEvent(arg1); + } + return; + } + void mouseMoveEvent(TQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { + TQButton::mouseMoveEvent(arg1); + } + return; + } + void setFocusProxy(TQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { + TQWidget::setFocusProxy(arg1); + } + return; + } + void setPixmap(const TQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { + TQButton::setPixmap(arg1); + } + return; + } + void fontChange(const TQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { + TQWidget::fontChange(arg1); + } + return; + } + void setBackgroundColor(const TQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { + TQWidget::setBackgroundColor(arg1); + } + return; + } + void adjustSize() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","adjustSize")) { + TQWidget::adjustSize(); + } + return; + } + void wheelEvent(TQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { + TQWidget::wheelEvent(arg1); + } + return; + } + void imEndEvent(TQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { + TQWidget::imEndEvent(arg1); + } + return; + } + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); + } + return; + } + void focusInEvent(TQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { + TQButton::focusInEvent(arg1); + } + return; + } + void tabletEvent(TQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { + TQWidget::tabletEvent(arg1); + } + return; + } + void keyReleaseEvent(TQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { + TQButton::keyReleaseEvent(arg1); + } + return; + } + void contextMenuEvent(TQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { + TQWidget::contextMenuEvent(arg1); + } + return; + } + void setGeometry(const TQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { + TQWidget::setGeometry(arg1); + } + return; + } + void showMinimized() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showMinimized")) { + TQWidget::showMinimized(); + } + return; + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBarButton_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToolBarButton*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToolBarButton_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_drawButton(JNIEnv* env, jobject obj, jobject p) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_enterEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) +{ + jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarButton_event(JNIEnv* env, jobject obj, jobject e) +{ + jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEToolBarButton*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBarButton_iconTextMode(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_iconTextMode(); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBarButton_id(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((TDEToolBarButton*) QtSupport::getQt(env, obj))->id(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarButton_isActive(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isActive(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarButton_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarButton_isRaised(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isRaised(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_leaveEvent(JNIEnv* env, jobject obj, jobject e) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarButton_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarButton_minimumSizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarButton_minimumSize(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_modeChange(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->modeChange(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__(JNIEnv* env, jobject obj) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge()); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent) +{ +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) 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_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_txt = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt, jobject _instance) +{ +static TQString* _qstring_icon = 0; +static TQCString* _qstring_name = 0; +static TQString* _qstring_txt = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (TDEInstance*) QtSupport::getQt(env, _instance))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) 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_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name, jstring txt) +{ +static TQCString* _qstring_name = 0; +static TQString* _qstring_txt = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((TQWidget*) 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_TDEToolBarButton_on__(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_on__Z(JNIEnv* env, jobject obj, jboolean flag) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on((bool) flag); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarButton_popup(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setIconSet(JNIEnv* env, jobject obj, jobject iconset) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) +{ +static TQString* _qstring_icon = 0; + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setNoStyle__(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z(JNIEnv* env, jobject obj, jboolean no_style) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle((bool) no_style); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setRadio__(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setRadio__Z(JNIEnv* env, jobject obj, jboolean f) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio((bool) f); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setTextLabel(JNIEnv* env, jobject obj, jstring arg1, jboolean tipToo) +{ +static TQString* _qstring_arg1 = 0; + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) tipToo); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setText(JNIEnv* env, jobject obj, jstring text) +{ +static TQString* _qstring_text = 0; + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setToggle__(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_setToggle__Z(JNIEnv* env, jobject obj, jboolean toggle) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle((bool) toggle); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_showMenu(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showMenu(); + return; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarButton_sizeHint(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_slotClicked(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayTimeout(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_slotPressed(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotPressed(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_slotReleased(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotReleased(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_slotToggled(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotToggled(); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarButton_toggle(JNIEnv* env, jobject obj) +{ + ((TDEToolBarButton*) QtSupport::getQt(env, obj))->toggle(); + return; +} + diff --git a/kdejava/koala/kdejava/TDEToolBarButton.h b/kdejava/koala/kdejava/TDEToolBarButton.h new file mode 100644 index 00000000..a5641e62 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarButton.h @@ -0,0 +1,74 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToolBarButton__ +#define __org_kde_koala_TDEToolBarButton__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarButton_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setText (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIconSet (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_toggle (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__ (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_popup (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_id (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__ (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_modeChange (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setTextLabel (JNIEnv *env, jobject, jstring, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_event (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_paletteChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_leaveEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_enterEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_drawButton (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_showMenu (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSize (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isRaised (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isActive (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_iconTextMode (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotClicked (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotPressed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotReleased (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotToggled (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToolBarButton__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp b/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp new file mode 100644 index 00000000..c838e709 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp @@ -0,0 +1,277 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kactionclasses.h> +#include <tqstring.h> +#include <kguiitem.h> +#include <kshortcut.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToolBarPopupAction.h> + +class TDEToolBarPopupActionJBridge : public TDEToolBarPopupAction +{ +public: + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5) {}; + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4) {}; + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToolBarPopupAction(arg1,arg2,arg3) {}; + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToolBarPopupAction(arg1,arg2) {}; + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TDEToolBarPopupActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + ~TDEToolBarPopupActionJBridge() {QtSupport::qtKeyDeleted(this);} + void activate() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","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.TDEToolBarPopupAction","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.TDEToolBarPopupAction","slotDestroyed")) { + TDEAction::slotDestroyed(); + } + return; + } + void slotActivated() { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotActivated")) { + TDEAction::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.TDEToolBarPopupAction",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_delayed(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->delayed(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToolBarPopupAction_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarPopupAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEToolBarPopupAction*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__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 TDEToolBarPopupActionJBridge((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_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, 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 TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (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_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) +{ +static TQString* _qstring_text = 0; +static TQString* _qstring_icon = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, 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 TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) +{ +static TQCString* _qstring_name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (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_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) +{ + jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); + return xret; +} + +JNIEXPORT jint JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) +{ + jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); + return xret; +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_popupMenu(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_setDelayed(JNIEnv* env, jobject obj, jboolean delayed) +{ + ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setDelayed((bool) delayed); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) +{ + ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->stickyMenu(); + return xret; +} + diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.h b/kdejava/koala/kdejava/TDEToolBarPopupAction.h new file mode 100644 index 00000000..b24f54a2 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarPopupAction.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToolBarPopupAction__ +#define __org_kde_koala_TDEToolBarPopupAction__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarPopupAction_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_popupMenu (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_delayed (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setDelayed (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu (JNIEnv *env, jobject, jboolean); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToolBarPopupAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp b/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp new file mode 100644 index 00000000..df990a41 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp @@ -0,0 +1,132 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <ktoolbarradiogroup.h> + +#include <qtjava/QtSupport.h> +#include <kdejava/KDESupport.h> +#include <kdejava/TDEToolBarRadioGroup.h> + +class TDEToolBarRadioGroupJBridge : public TDEToolBarRadioGroup +{ +public: + TDEToolBarRadioGroupJBridge(TDEToolBar* arg1,const char* arg2) : TDEToolBarRadioGroup(arg1,arg2) {}; + TDEToolBarRadioGroupJBridge(TDEToolBar* arg1) : TDEToolBarRadioGroup(arg1) {}; + ~TDEToolBarRadioGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); + } + 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 eventFilter(TQObject* object,TQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarRadioGroup",object,event)) { + return TQObject::eventFilter(object,event); + } else { + return TRUE; + } + } +}; + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_addButton(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->addButton((int) id); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_className(JNIEnv* env, jobject obj) +{ + const char* _qstring; + _qstring = ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->className(); + return QtSupport::fromCharString(env, (char *) _qstring); +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_dispose(JNIEnv* env, jobject obj) +{ + Java_org_kde_koala_TDEToolBarRadioGroup_finalize(env, obj); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_finalize(JNIEnv* env, jobject obj) +{ + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarRadioGroup*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TDEToolBarRadioGroup*)QtSupport::getQt(env, obj); + QtSupport::setQt(env, obj, 0); + } + return; +} + +JNIEXPORT jboolean JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed(JNIEnv* env, jobject obj) +{ + return (QtSupport::getQt(env, obj) == 0); +} + +JNIEXPORT jobject JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_metaObject(JNIEnv* env, jobject obj) +{ + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2(JNIEnv* env, jobject obj, jobject _parent) +{ + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarRadioGroupJBridge((TDEToolBar*) QtSupport::getQt(env, _parent))); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _parent, jstring _name) +{ +static TQCString* _qstring__name = 0; + if (QtSupport::getQt(env, obj) == 0) { + QtSupport::setQt(env, obj, new TDEToolBarRadioGroupJBridge((TDEToolBar*) 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_TDEToolBarRadioGroup_removeButton(JNIEnv* env, jobject obj, jint id) +{ + ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->removeButton((int) id); + return; +} + +JNIEXPORT void JNICALL +Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled(JNIEnv* env, jobject obj, jint arg1) +{ + ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->slotToggled((int) arg1); + return; +} + diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.h b/kdejava/koala/kdejava/TDEToolBarRadioGroup.h new file mode 100644 index 00000000..1268afe9 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarRadioGroup.h @@ -0,0 +1,28 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToolBarRadioGroup__ +#define __org_kde_koala_TDEToolBarRadioGroup__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2 (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_addButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_removeButton (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToolBarRadioGroup__ */ diff --git a/kdejava/koala/kdejava/KToolBarSeparator.cpp b/kdejava/koala/kdejava/TDEToolBarSeparator.cpp index 7c75331f..bc3f1078 100644 --- a/kdejava/koala/kdejava/KToolBarSeparator.cpp +++ b/kdejava/koala/kdejava/TDEToolBarSeparator.cpp @@ -7,22 +7,22 @@ #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> -#include <kdejava/KToolBarSeparator.h> +#include <kdejava/TDEToolBarSeparator.h> -class KToolBarSeparatorJBridge : public KToolBarSeparator +class TDEToolBarSeparatorJBridge : public TDEToolBarSeparator { public: - KToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3,const char* arg4) : KToolBarSeparator(arg1,arg2,arg3,arg4) {}; - KToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3) : KToolBarSeparator(arg1,arg2,arg3) {}; + TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3,const char* arg4) : TDEToolBarSeparator(arg1,arg2,arg3,arg4) {}; + TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3) : TDEToolBarSeparator(arg1,arg2,arg3) {}; void protected_styleChange(TQStyle& arg1) { - KToolBarSeparator::styleChange(arg1); + TDEToolBarSeparator::styleChange(arg1); return; } void protected_drawContents(TQPainter* arg1) { - KToolBarSeparator::drawContents(arg1); + TDEToolBarSeparator::drawContents(arg1); return; } - ~KToolBarSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} + ~TDEToolBarSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} void dragLeaveEvent(TQDragLeaveEvent* arg1) { if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { TQWidget::dragLeaveEvent(arg1); @@ -60,7 +60,7 @@ public: return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","setActiveWindow")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","setActiveWindow")) { TQWidget::setActiveWindow(); } return; @@ -72,7 +72,7 @@ public: return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","show")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","show")) { TQWidget::show(); } return; @@ -84,7 +84,7 @@ public: return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","setFocus")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","setFocus")) { TQWidget::setFocus(); } return; @@ -102,7 +102,7 @@ public: return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","hide")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","hide")) { TQWidget::hide(); } return; @@ -138,7 +138,7 @@ public: return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","unsetCursor")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","unsetCursor")) { TQWidget::unsetCursor(); } return; @@ -156,13 +156,13 @@ public: return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","polish")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","polish")) { TQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","showMaximized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showMaximized")) { TQWidget::showMaximized(); } return; @@ -261,13 +261,13 @@ public: return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","updateMask")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","updateMask")) { TQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","showNormal")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showNormal")) { TQWidget::showNormal(); } return; @@ -309,7 +309,7 @@ public: return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","adjustSize")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","adjustSize")) { TQWidget::adjustSize(); } return; @@ -357,7 +357,7 @@ public: return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KToolBarSeparator",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarSeparator",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -370,13 +370,13 @@ public: return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","frameChanged")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","frameChanged")) { TQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KToolBarSeparator","showMinimized")) { + if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showMinimized")) { TQWidget::showMinimized(); } return; @@ -384,110 +384,110 @@ public: }; JNIEXPORT jstring JNICALL -Java_org_kde_koala_KToolBarSeparator_className(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((KToolBarSeparator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_dispose(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_koala_KToolBarSeparator_finalize(env, obj); + Java_org_kde_koala_TDEToolBarSeparator_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_drawContents(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDEToolBarSeparator_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((KToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_finalize(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KToolBarSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KToolBarSeparator*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TDEToolBarSeparator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarSeparator_isDisposed(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarSeparator_metaObject(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KToolBarSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_newKToolBarSeparator__IZLorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent) +Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_newKToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent, jstring name) +Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) 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_KToolBarSeparator_orientation(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((KToolBarSeparator*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_setOrientation(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_koala_TDEToolBarSeparator_setOrientation(JNIEnv* env, jobject obj, jint arg1) { - ((KToolBarSeparator*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); + ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KToolBarSeparator_showLine(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_showLine(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((KToolBarSeparator*) QtSupport::getQt(env, obj))->showLine(); + jboolean xret = (jboolean) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->showLine(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarSeparator_sizeHint(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KToolBarSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KToolBarSeparator_sizePolicy(JNIEnv* env, jobject obj) +Java_org_kde_koala_TDEToolBarSeparator_sizePolicy(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KToolBarSeparator*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_koala_KToolBarSeparator_styleChange(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_koala_TDEToolBarSeparator_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((KToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); return; } diff --git a/kdejava/koala/kdejava/TDEToolBarSeparator.h b/kdejava/koala/kdejava/TDEToolBarSeparator.h new file mode 100644 index 00000000..700def78 --- /dev/null +++ b/kdejava/koala/kdejava/TDEToolBarSeparator.h @@ -0,0 +1,32 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#ifndef __org_kde_koala_TDEToolBarSeparator__ +#define __org_kde_koala_TDEToolBarSeparator__ + +#include <jni.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_metaObject (JNIEnv *env, jobject); +extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarSeparator_className (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jint, jboolean, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizeHint (JNIEnv *env, jobject); +extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarSeparator_orientation (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizePolicy (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_showLine (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_setOrientation (JNIEnv *env, jobject, jint); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_styleChange (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_drawContents (JNIEnv *env, jobject, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_finalize (JNIEnv *env, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_dispose (JNIEnv *env, jobject); +extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_isDisposed (JNIEnv *env, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __org_kde_koala_TDEToolBarSeparator__ */ diff --git a/kdejava/koala/org/kde/koala/KAboutApplication.java b/kdejava/koala/org/kde/koala/KAboutApplication.java index e65e1a24..174b5c58 100644 --- a/kdejava/koala/org/kde/koala/KAboutApplication.java +++ b/kdejava/koala/org/kde/koala/KAboutApplication.java @@ -12,9 +12,9 @@ import org.kde.qt.TQWidget; TDEAboutData that is specified at the start of your program in main(). Normally you should not use this class directly but rather the KHelpMenu class or even better just subclass your toplevel - window from KMainWindow. If you do the latter, the help menu and + window from TDEMainWindow. If you do the latter, the help menu and thereby this dialog box is available through the - KMainWindow.helpMenu() function. + TDEMainWindow.helpMenu() function. @author Waldo Bastian (bastian@kde.org) and Espen Sand (espen@kde.org) @short Standard "About Application" dialog box. diff --git a/kdejava/koala/org/kde/koala/KAboutKDE.java b/kdejava/koala/org/kde/koala/KAboutKDE.java index c985f0da..6f8ff07c 100644 --- a/kdejava/koala/org/kde/koala/KAboutKDE.java +++ b/kdejava/koala/org/kde/koala/KAboutKDE.java @@ -10,9 +10,9 @@ import org.kde.qt.TQWidget; This class provides the standard "About KDE" dialog box that is used KHelpMenu Normally you should not use this class directly but rather the KHelpMenu class or even better just subclass your - toplevel window from KMainWindow. If you do the latter, the help + toplevel window from TDEMainWindow. If you do the latter, the help menu and thereby this dialog box is available through the - KMainWindow.helpMenu() function. + TDEMainWindow.helpMenu() function. @author Espen Sand (espen@kde.org) @short Standard "About KDE" dialog box,. diff --git a/kdejava/koala/org/kde/koala/KAccelShortcutList.java b/kdejava/koala/org/kde/koala/KAccelShortcutList.java deleted file mode 100644 index debb614a..00000000 --- a/kdejava/koala/org/kde/koala/KAccelShortcutList.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQVariant; - -/** - - KShortcutList implementation to access KAccel and - TDEGlobalAccel lists. - @short KShortcutList implementation to access KAccel and TDEGlobalAccel lists. - -*/ -public class KAccelShortcutList extends KShortcutList { - protected KAccelShortcutList(Class dummy){super((Class) null);} - /** - Creates a new KShortcutList that accesses the given KAccel. - @param accel the accelerators to access - @short Creates a new KShortcutList that accesses the given KAccel. - */ - public KAccelShortcutList(KAccel accel) { - super((Class) null); - newKAccelShortcutList(accel); - } - private native void newKAccelShortcutList(KAccel accel); - /** - Creates a new KShortcutList that accesses the given - TDEGlobalAccel. - @param accel the accelerators to access - @short Creates a new KShortcutList that accesses the given TDEGlobalAccel. - */ - public KAccelShortcutList(TDEGlobalAccel accel) { - super((Class) null); - newKAccelShortcutList(accel); - } - private native void newKAccelShortcutList(TDEGlobalAccel accel); - /** - Creates a new KShortcutList that accesses the given - KAccelActions collection. - @param actions the actions to access - @param bGlobal true to save the actions in the global - configuration file - @short - */ - public KAccelShortcutList(KAccelActions actions, boolean bGlobal) { - super((Class) null); - newKAccelShortcutList(actions,bGlobal); - } - private native void newKAccelShortcutList(KAccelActions actions, boolean bGlobal); - public native int count(); - public native String name(int index); - public native String label(int index); - public native String whatsThis(int index); - public native KShortcut shortcut(int index); - public native KShortcut shortcutDefault(int index); - public native boolean isConfigurable(int index); - public native boolean setShortcut(int index, KShortcut shortcut); - public native boolean isGlobal(int index); - /** \internal @short \internal - */ - public native TQVariant getOther(int arg1, int index); - /** \internal @short \internal - */ - public native boolean setOther(int arg1, int index, TQVariant arg3); - public native boolean save(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAnimWidget.java b/kdejava/koala/org/kde/koala/KAnimWidget.java index fdf1d6e9..5aeef6f9 100644 --- a/kdejava/koala/org/kde/koala/KAnimWidget.java +++ b/kdejava/koala/org/kde/koala/KAnimWidget.java @@ -48,7 +48,7 @@ public class KAnimWidget extends TQFrame { @param icons The icons name (e.g., "kde") to use for the animation @param size The size to load You don't have to set it if the parent is a - KToolBar; in this case it will use the toolbar's + TDEToolBar; in this case it will use the toolbar's size. @param parent The standard parent @param name The standard internal name diff --git a/kdejava/koala/org/kde/koala/KCombiView.java b/kdejava/koala/org/kde/koala/KCombiView.java index 57668c94..5157f371 100644 --- a/kdejava/koala/org/kde/koala/KCombiView.java +++ b/kdejava/koala/org/kde/koala/KCombiView.java @@ -68,7 +68,7 @@ public class KCombiView extends TQSplitter implements KFileViewInterface { public native void writeConfig(TDEConfig arg1, String group); public native void writeConfig(TDEConfig arg1); public native void ensureItemVisible(KFileItem arg1); - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); public native void setAcceptDrops(boolean b); public native boolean eventFilter(TQObject o, TQEvent e); protected native void setDropOptions_impl(int options); diff --git a/kdejava/koala/org/kde/koala/KComboBox.java b/kdejava/koala/org/kde/koala/KComboBox.java index c3d6b234..4cd65e9f 100644 --- a/kdejava/koala/org/kde/koala/KComboBox.java +++ b/kdejava/koala/org/kde/koala/KComboBox.java @@ -42,7 +42,7 @@ import org.kde.qt.TQComboBox; such as setEditable(false) is made. Store the pointer at your own risk, and consider using TQGuardedPtr<KCompletion>. The default key-bindings for completion and rotation is determined from the - global settings in KStdAccel. These values, however, can be overridden + global settings in TDEStdAccel. These values, however, can be overridden locally by invoking KCompletionBase.setKeyBinding(). The values can easily be reverted back to the default setting, by simply calling useGlobalSettings(). An alternate method would be to default individual @@ -562,7 +562,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface { @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. @see #getKeyBinding */ - public native boolean setKeyBinding(int item, KShortcut key); + public native boolean setKeyBinding(int item, TDEShortcut key); /** Returns the key-binding used for the specified item. This methods returns the key-binding used to activate @@ -575,7 +575,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface { @short Returns the key-binding used for the specified item. @see #setKeyBinding */ - public native KShortcut getKeyBinding(int item); + public native TDEShortcut getKeyBinding(int item); /** Sets this object to use global values for key-bindings. This method changes the values of the key bindings for diff --git a/kdejava/koala/org/kde/koala/KCommandHistory.java b/kdejava/koala/org/kde/koala/KCommandHistory.java index 37096ceb..0e97f583 100644 --- a/kdejava/koala/org/kde/koala/KCommandHistory.java +++ b/kdejava/koala/org/kde/koala/KCommandHistory.java @@ -44,16 +44,16 @@ public class KCommandHistory extends TQObject { @param actionCollection the parent collection @short Creates a command history, to store commands. */ - public KCommandHistory(KActionCollection actionCollection, boolean withMenus) { + public KCommandHistory(TDEActionCollection actionCollection, boolean withMenus) { super((Class) null); newKCommandHistory(actionCollection,withMenus); } - private native void newKCommandHistory(KActionCollection actionCollection, boolean withMenus); - public KCommandHistory(KActionCollection actionCollection) { + private native void newKCommandHistory(TDEActionCollection actionCollection, boolean withMenus); + public KCommandHistory(TDEActionCollection actionCollection) { super((Class) null); newKCommandHistory(actionCollection); } - private native void newKCommandHistory(KActionCollection actionCollection); + private native void newKCommandHistory(TDEActionCollection actionCollection); /** Erases all the undo/redo history. Use this when reloading the data, for instance, since this invalidates @@ -103,13 +103,13 @@ public class KCommandHistory extends TQObject { public native void updateActions(); /** Undoes the last action. - Call this if you don't use the builtin KActions. + Call this if you don't use the builtin TDEActions. @short Undoes the last action. */ public native void undo(); /** Redoes the last undone action. - Call this if you don't use the builtin KActions. + Call this if you don't use the builtin TDEActions. @short Redoes the last undone action. */ public native void redo(); diff --git a/kdejava/koala/org/kde/koala/KCompletionBase.java b/kdejava/koala/org/kde/koala/KCompletionBase.java index 2cfb446d..00356a4f 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBase.java +++ b/kdejava/koala/org/kde/koala/KCompletionBase.java @@ -27,7 +27,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface { /** Constants that represent the items whose short-cut key-binding is programmable. The default key-bindings - for these items are defined in KStdAccel. + for these items are defined in TDEStdAccel. @short Constants that represent the items whose short-cut key-binding is programmable. */ public static final int TextCompletion = 0; @@ -220,7 +220,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface { @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. @see #getKeyBinding */ - public native boolean setKeyBinding(int item, KShortcut key); + public native boolean setKeyBinding(int item, TDEShortcut key); /** Returns the key-binding used for the specified item. This methods returns the key-binding used to activate @@ -233,7 +233,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface { @short Returns the key-binding used for the specified item. @see #setKeyBinding */ - public native KShortcut getKeyBinding(int item); + public native TDEShortcut getKeyBinding(int item); /** Sets this object to use global values for key-bindings. This method changes the values of the key bindings for diff --git a/kdejava/koala/org/kde/koala/KCompletionBaseInterface.java b/kdejava/koala/org/kde/koala/KCompletionBaseInterface.java index 9e0fa101..8d9fe6a3 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBaseInterface.java +++ b/kdejava/koala/org/kde/koala/KCompletionBaseInterface.java @@ -16,8 +16,8 @@ public interface KCompletionBaseInterface { boolean emitSignals(); void setCompletionMode(int mode); int completionMode(); - boolean setKeyBinding(int item, KShortcut key); - KShortcut getKeyBinding(int item); + boolean setKeyBinding(int item, TDEShortcut key); + TDEShortcut getKeyBinding(int item); void useGlobalKeyBindings(); void setCompletedText(String text); void setCompletedItems(String[] items); diff --git a/kdejava/koala/org/kde/koala/KCompletionBox.java b/kdejava/koala/org/kde/koala/KCompletionBox.java index 171449ef..5a048cec 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBox.java +++ b/kdejava/koala/org/kde/koala/KCompletionBox.java @@ -26,7 +26,7 @@ import org.kde.qt.TQWidget; @short A helper widget for "completion-widgets" (KLineEdit, KComboBox)). */ -public class KCompletionBox extends KListBox { +public class KCompletionBox extends TDEListBox { protected KCompletionBox(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); @@ -177,9 +177,9 @@ public class KCompletionBox extends KListBox { */ protected native void sizeAndPosition(); /** - Reimplemented from KListBox to get events from the viewport (to hide + Reimplemented from TDEListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc. - @short Reimplemented from KListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc. + @short Reimplemented from TDEListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc. */ public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** diff --git a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java index 17dad039..5f3ae2b2 100644 --- a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java +++ b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java @@ -6,9 +6,9 @@ import org.kde.qt.QtSupport; /** - The KDCOPActionProxy class provides an easy way to publish a collection of KAction objects + The KDCOPActionProxy class provides an easy way to publish a collection of TDEAction objects through DCOP. For the DCOP client the exported actions behave like full-fledged DCOP objects, - providing full access to the KAction object functionality in the server. + providing full access to the TDEAction object functionality in the server. This class can generate DCOP object ids for given action objects, which it automatically processes, as being a DCOPObjectProxy . @short A proxy class publishing a DCOP interface for actions. @@ -18,20 +18,20 @@ public class KDCOPActionProxy extends DCOPObjectProxy { protected KDCOPActionProxy(Class dummy){super((Class) null);} /** Constructs a dcop action proxy, being able to export the actions of the provided - KActionCollection through DCOP, using the parent DCOPObject's object id to + TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. - @short Constructs a dcop action proxy, being able to export the actions of the provided KActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. + @short Constructs a dcop action proxy, being able to export the actions of the provided TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. */ - public KDCOPActionProxy(KActionCollection actionCollection, DCOPObjectInterface parent) { + public KDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent) { super((Class) null); newKDCOPActionProxy(actionCollection,parent); } - private native void newKDCOPActionProxy(KActionCollection actionCollection, DCOPObjectInterface parent); + private native void newKDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent); /** Use this constructor if do not want to provide the exportable actions through a - KActionCollection . You have to reimplement the actions() and + TDEActionCollection . You have to reimplement the actions() and action() methods if you use this constructor. - @short Use this constructor if do not want to provide the exportable actions through a KActionCollection . + @short Use this constructor if do not want to provide the exportable actions through a TDEActionCollection . */ public KDCOPActionProxy(DCOPObjectInterface parent) { super((Class) null); @@ -40,10 +40,10 @@ public class KDCOPActionProxy extends DCOPObjectProxy { private native void newKDCOPActionProxy(DCOPObjectInterface parent); /** Returns an action object with the given name. The default implementation queries the action object - from the KActionCollection, if the first constructor has been used. + from the TDEActionCollection, if the first constructor has been used. @short Returns an action object with the given name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Use this method to retrieve a DCOP object id for an action with the given name. This class automatically takes care of processing DCOP object requests for the returned @@ -73,7 +73,7 @@ public class KDCOPActionProxy extends DCOPObjectProxy { action object. @short Called by the #process method and takes care of processing the object request for an action object. */ - public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, KAction action); + public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, TDEAction action); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDataToolAction.java b/kdejava/koala/org/kde/koala/KDataToolAction.java index 3fa94c13..c47a06e3 100644 --- a/kdejava/koala/org/kde/koala/KDataToolAction.java +++ b/kdejava/koala/org/kde/koala/KDataToolAction.java @@ -28,7 +28,7 @@ import org.kde.qt.TQObject; @short This class helps applications implement support for KDataTool. */ -public class KDataToolAction extends KAction { +public class KDataToolAction extends TDEAction { protected KDataToolAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); @@ -63,11 +63,11 @@ public class KDataToolAction extends KAction { @param tools the list of data tool descriptions @param receiver the receiver for toolActivated() signals @param slot the slot that will receive the toolActivated() signals - @return the KActions + @return the TDEActions @short Creates a list of actions from a list of information about data-tools. */ - // TQPtrList<KAction> dataToolActionList(const TQValueList<KDataToolInfo>& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED + // TQPtrList<TDEAction> dataToolActionList(const TQValueList<KDataToolInfo>& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED protected native void slotActivated(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KDateTableSignals.java b/kdejava/koala/org/kde/koala/KDateTableSignals.java index 2d4b4e72..3317097f 100644 --- a/kdejava/koala/org/kde/koala/KDateTableSignals.java +++ b/kdejava/koala/org/kde/koala/KDateTableSignals.java @@ -39,5 +39,5 @@ public interface KDateTableSignals { the slot where you fill the menu to this signal. @short A popup menu for a given date is about to be shown (as when the user right clicks on that date and the popup menu is enabled). */ - void aboutToShowContextMenu(KPopupMenu menu, Calendar date); + void aboutToShowContextMenu(TDEPopupMenu menu, Calendar date); } diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java index a8eae95f..5543358e 100644 --- a/kdejava/koala/org/kde/koala/KDirOperator.java +++ b/kdejava/koala/org/kde/koala/KDirOperator.java @@ -329,7 +329,7 @@ public class KDirOperator extends TQWidget { /** an accessor to a collection of all available Actions. The actions are static, they will be there all the time (no need to connect to - the signals KActionCollection.inserted() or removed(). + the signals TDEActionCollection.inserted() or removed(). There are the following actions: <li> @@ -440,7 +440,7 @@ public class KDirOperator extends TQWidget { @short an accessor to a collection of all available Actions. */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** Sets the config object and the to be used group in KDirOperator. This will be used to store the view's configuration via diff --git a/kdejava/koala/org/kde/koala/KDockMainWindow.java b/kdejava/koala/org/kde/koala/KDockMainWindow.java index ea035134..e749816e 100644 --- a/kdejava/koala/org/kde/koala/KDockMainWindow.java +++ b/kdejava/koala/org/kde/koala/KDockMainWindow.java @@ -11,7 +11,7 @@ import org.kde.qt.TQDomElement; /** - A special kind of KMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). + A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). The main widget should be a KDockWidget where other KDockWidget can be docked to the left, right, top, bottom or to the middle. Note: dock to the middle means to drop on a dockwidget and to unite them to a new widget, a tab control. @@ -48,10 +48,10 @@ import org.kde.qt.TQDomElement; See {@link KDockMainWindowSignals} for signals emitted by KDockMainWindow @author Max Judin (documentation: Falk Brettschneider). - @short A special kind of KMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). + @short A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). */ -public class KDockMainWindow extends KMainWindow { +public class KDockMainWindow extends TDEMainWindow { protected KDockMainWindow(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KEditToolbar.java b/kdejava/koala/org/kde/koala/KEditToolbar.java index 865b1b98..7dae02a6 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbar.java +++ b/kdejava/koala/org/kde/koala/KEditToolbar.java @@ -24,7 +24,7 @@ import org.kde.qt.TQWidget; </pre> That code snippet also takes care of redrawing the menu and toolbars if you have made any changes. - If you are using KMainWindow's settings methods (either save/apply manually + If you are using TDEMainWindow's settings methods (either save/apply manually or autoSaveSettings), you should write something like: <pre> void MyClass.slotConfigureToolbars() @@ -83,7 +83,7 @@ public class KEditToolbar extends KDialogBase { relative) of your application's UI resource file. If it is left blank, then the resource file: share/apps/appname/appnameui.rc is used. This is the same resource file that is used by the - default createGUI() function in KMainWindow so you're usually + default createGUI() function in TDEMainWindow so you're usually pretty safe in leaving it blank. The third parameter, global(), controls whether or not the global resource file is used. If this is <code>true</code>, then you may @@ -100,56 +100,56 @@ public class KEditToolbar extends KDialogBase { @param name An internal name. @short Constructor for apps that do not use components. */ - public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { + public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { super((Class) null); newKEditToolbar(collection,xmlfile,global,parent,name); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { + private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); + public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbar(collection,xmlfile,global,parent); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(KActionCollection collection, String xmlfile, boolean global) { + private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); + public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbar(collection,xmlfile,global); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(KActionCollection collection, String xmlfile) { + private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global); + public KEditToolbar(TDEActionCollection collection, String xmlfile) { super((Class) null); newKEditToolbar(collection,xmlfile); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile); - public KEditToolbar(KActionCollection collection) { + private native void newKEditToolbar(TDEActionCollection collection, String xmlfile); + public KEditToolbar(TDEActionCollection collection) { super((Class) null); newKEditToolbar(collection); } - private native void newKEditToolbar(KActionCollection collection); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { + private native void newKEditToolbar(TDEActionCollection collection); + public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent,name); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { + private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); + public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global) { + private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); + public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile) { + private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global); + public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile); - public KEditToolbar(String defaultToolbar, KActionCollection collection) { + private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile); + public KEditToolbar(String defaultToolbar, TDEActionCollection collection) { super((Class) null); newKEditToolbar(defaultToolbar,collection); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection); + private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection); /** Constructor for KParts based apps. The main parameter, factory(), is a pointer to the @@ -165,9 +165,9 @@ public class KEditToolbar extends KDialogBase { @param factory Your application's factory object @param parent The usual parent for the dialog. @param name An internal name. - Some people seem tempted to use this also in non-KParts apps, using KMainWindow.guiFactory(). + Some people seem tempted to use this also in non-KParts apps, using TDEMainWindow.guiFactory(). This works, but only _if_ setting conserveMemory to false when calling - KMainWindow.createGUI()! If not, use the other KEditToolbar constructor. + TDEMainWindow.createGUI()! If not, use the other KEditToolbar constructor. @short Constructor for KParts based apps. */ public KEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name) { diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java index 1c37e907..e6182b3c 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java +++ b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java @@ -44,7 +44,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa relative) of your application's UI resource file. If it is left blank, then the resource file: share/apps/appname/appnameui.rc is used. This is the same resource file that is used by the - default createGUI function in KMainWindow so you're usually + default createGUI function in TDEMainWindow so you're usually pretty safe in leaving it blank. The third parameter, global, controls whether or not the global resource file is used. If this is true, then you may @@ -61,46 +61,46 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa @param parent This widget's parent @short Constructor. */ - public KEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { + public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbarWidget(collection,xmlfile,global,parent); } - private native void newKEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global) { + private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); + public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbarWidget(collection,xmlfile,global); } - private native void newKEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global); - public KEditToolbarWidget(KActionCollection collection, String xmlfile) { + private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global); + public KEditToolbarWidget(TDEActionCollection collection, String xmlfile) { super((Class) null); newKEditToolbarWidget(collection,xmlfile); } - private native void newKEditToolbarWidget(KActionCollection collection, String xmlfile); - public KEditToolbarWidget(KActionCollection collection) { + private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile); + public KEditToolbarWidget(TDEActionCollection collection) { super((Class) null); newKEditToolbarWidget(collection); } - private native void newKEditToolbarWidget(KActionCollection collection); - public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, TQWidget parent) { + private native void newKEditToolbarWidget(TDEActionCollection collection); + public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection,file,global,parent); } - private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, TQWidget parent); - public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global) { + private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent); + public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection,file,global); } - private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global); - public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file) { + private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global); + public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection,file); } - private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file); - public KEditToolbarWidget(String defaultToolbar, KActionCollection collection) { + private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file); + public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection); } - private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection); + private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection); /** Constructor for KParts based apps. The first parameter, factory, is a pointer to the XML GUI @@ -141,7 +141,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa /** @short */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** Save any changes the user made. The file will be in the user's local directory (usually $HOME/.trinity/share/apps/\<appname\>). The @@ -162,7 +162,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED // void removeActive(ToolbarItem* arg1); >>>> NOT CONVERTED // void moveActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED - protected native void initNonKPart(KActionCollection collection, String file, boolean global); + protected native void initNonKPart(TDEActionCollection collection, String file, boolean global); protected native void initKPart(KXMLGUIFactory factory); protected native void loadToolbarCombo(String defaultToolbar); protected native void loadToolbarCombo(); @@ -171,7 +171,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa protected native void slotToolbarSelected(String text); protected native void slotInactiveSelected(TQListViewItem item); protected native void slotActiveSelected(TQListViewItem item); - protected native void slotDropped(KListView list, TQDropEvent e, TQListViewItem after); + protected native void slotDropped(TDEListView list, TQDropEvent e, TQListViewItem after); protected native void slotInsertButton(); protected native void slotRemoveButton(); protected native void slotUpButton(); @@ -189,14 +189,14 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa to get the action object. @short Retrieves an action of the client by name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. @short Retrieves an action for a given TQDomElement. */ - public native KAction action(TQDomElement element); + public native TDEAction action(TQDomElement element); /** @return The instance ( TDEInstance ) for this GUI client. @@ -319,7 +319,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - TQPtrList<KAction> file_actions; + TQPtrList<TDEAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -335,7 +335,7 @@ public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterfa menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . diff --git a/kdejava/koala/org/kde/koala/KFileDetailView.java b/kdejava/koala/org/kde/koala/KFileDetailView.java index c9c4b1ca..1e955b35 100644 --- a/kdejava/koala/org/kde/koala/KFileDetailView.java +++ b/kdejava/koala/org/kde/koala/KFileDetailView.java @@ -25,7 +25,7 @@ import org.kde.qt.TQDragObject; @see KFileIconView */ -public class KFileDetailView extends KListView implements KFileViewInterface { +public class KFileDetailView extends TDEListView implements KFileViewInterface { protected KFileDetailView(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); @@ -184,7 +184,7 @@ public class KFileDetailView extends KListView implements KFileViewInterface { @short */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); public native KFileViewSignaler signaler(); /** Specify DND options. See DropOptions for details. diff --git a/kdejava/koala/org/kde/koala/KFileDialog.java b/kdejava/koala/org/kde/koala/KFileDialog.java index 7f8957da..6c790874 100644 --- a/kdejava/koala/org/kde/koala/KFileDialog.java +++ b/kdejava/koala/org/kde/koala/KFileDialog.java @@ -323,14 +323,14 @@ public class KFileDialog extends KDialogBase { You can use this to insert custom items into it, e.g.: <pre> - yourAction = new KAction( i18n("Your Action"), 0, + yourAction = new TDEAction( i18n("Your Action"), 0, this, SLOT("yourSlot()"), this, "action name" ); yourAction.plug( tdefileDialog.toolBar() ); </pre> @short Returns a pointer to the toolbar. */ - public native KToolBar toolBar(); + public native TDEToolBar toolBar(); /** @return a pointer to the OK-Button in the filedialog. You may use it e.g. to set a custom text to it. @@ -363,11 +363,11 @@ public class KFileDialog extends KDialogBase { public native KURLBar speedBar(); /** @return a pointer to the action collection, holding all the used - KActions. + TDEActions. @short */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** @return the index of the path combobox so when inserting widgets into the dialog (e.g. subclasses) they can do so without hardcoding in an index @@ -756,7 +756,7 @@ public class KFileDialog extends KDialogBase { @param startDir A url/directory, to be used. May use the ':' and '.' syntax as documented in the KFileDialog() constructor. @param recentDirClass If the ':' or '.' syntax is used, recentDirClass - will contain the string to be used later for KRecentDir.dir() + will contain the string to be used later for TDERecentDir.dir() @return The URL that should be listed by default (e.g. by KFileDialog or KDirSelectDialog). diff --git a/kdejava/koala/org/kde/koala/KFileIconView.java b/kdejava/koala/org/kde/koala/KFileIconView.java index 486e3e85..3c821713 100644 --- a/kdejava/koala/org/kde/koala/KFileIconView.java +++ b/kdejava/koala/org/kde/koala/KFileIconView.java @@ -237,7 +237,7 @@ public class KFileIconView extends KIconView implements KFileViewInterface { @short */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); public native KFileViewSignaler signaler(); /** Specify DND options. See DropOptions for details. diff --git a/kdejava/koala/org/kde/koala/KFileListViewItem.java b/kdejava/koala/org/kde/koala/KFileListViewItem.java index b2b9795d..9ab7d7e0 100644 --- a/kdejava/koala/org/kde/koala/KFileListViewItem.java +++ b/kdejava/koala/org/kde/koala/KFileListViewItem.java @@ -15,7 +15,7 @@ import org.kde.qt.TQListView; @short An item for the listiew, that has a reference to its corresponding KFileItem. */ -public class KFileListViewItem extends KListViewItem { +public class KFileListViewItem extends TDEListViewItem { protected KFileListViewItem(Class dummy){super((Class) null);} public KFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi) { super((Class) null); diff --git a/kdejava/koala/org/kde/koala/KFilePreview.java b/kdejava/koala/org/kde/koala/KFilePreview.java index f5f4cca4..fd05195f 100644 --- a/kdejava/koala/org/kde/koala/KFilePreview.java +++ b/kdejava/koala/org/kde/koala/KFilePreview.java @@ -64,11 +64,11 @@ public class KFilePreview extends TQSplitter implements KFileViewInterface { /** This overrides KFileView.actionCollection() by returning the actionCollection() of the KFileView (member left) it contains. - This means that KFilePreview will never create a KActionCollection + This means that KFilePreview will never create a TDEActionCollection object of its own. @short This overrides KFileView.actionCollection() by returning the actionCollection() of the KFileView (member left) it contains. */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); public native void ensureItemVisible(KFileItem arg1); public native void setPreviewWidget(TQWidget w, KURL u); protected native void slotHighlighted(KFileItem arg1); diff --git a/kdejava/koala/org/kde/koala/KFileTreeView.java b/kdejava/koala/org/kde/koala/KFileTreeView.java index a0a8002c..51a65d57 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeView.java +++ b/kdejava/koala/org/kde/koala/KFileTreeView.java @@ -29,7 +29,7 @@ import org.kde.qt.TQDragObject; @short The filetreeview offers a treeview on the file system which behaves like a TQTreeView showing files and/or directories in the file system. */ -public class KFileTreeView extends KListView { +public class KFileTreeView extends TDEListView { protected KFileTreeView(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewItem.java b/kdejava/koala/org/kde/koala/KFileTreeViewItem.java index f4a42bf2..1938b7e6 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeViewItem.java +++ b/kdejava/koala/org/kde/koala/KFileTreeViewItem.java @@ -10,7 +10,7 @@ import org.kde.qt.QtSupport; @short An item for a KFileTreeView that knows about its own KFileItem. */ -public class KFileTreeViewItem extends KListViewItem { +public class KFileTreeViewItem extends TDEListViewItem { protected KFileTreeViewItem(Class dummy){super((Class) null);} public KFileTreeViewItem(KFileTreeViewItem arg1, KFileItem arg2, KFileTreeBranch arg3) { super((Class) null); diff --git a/kdejava/koala/org/kde/koala/KFileView.java b/kdejava/koala/org/kde/koala/KFileView.java index cfed91d2..d88bec4a 100644 --- a/kdejava/koala/org/kde/koala/KFileView.java +++ b/kdejava/koala/org/kde/koala/KFileView.java @@ -264,7 +264,7 @@ public class KFileView implements QtSupport, KFileViewInterface { @short */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); public native KFileViewSignaler signaler(); public native void readConfig(TDEConfig arg1, String group); public native void readConfig(TDEConfig arg1); diff --git a/kdejava/koala/org/kde/koala/KFileViewInterface.java b/kdejava/koala/org/kde/koala/KFileViewInterface.java index e3d5c83e..b5a05049 100644 --- a/kdejava/koala/org/kde/koala/KFileViewInterface.java +++ b/kdejava/koala/org/kde/koala/KFileViewInterface.java @@ -46,7 +46,7 @@ public interface KFileViewInterface { void setOnlyDoubleClickSelectsFiles(boolean enable); boolean onlyDoubleClickSelectsFiles(); boolean updateNumbers(KFileItem i); - KActionCollection actionCollection(); + TDEActionCollection actionCollection(); KFileViewSignaler signaler(); void readConfig(TDEConfig arg1, String group); void readConfig(TDEConfig arg1); diff --git a/kdejava/koala/org/kde/koala/KFontAction.java b/kdejava/koala/org/kde/koala/KFontAction.java deleted file mode 100644 index 56241891..00000000 --- a/kdejava/koala/org/kde/koala/KFontAction.java +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQWidget; - -/** -*/ -public class KFontAction extends KSelectAction { - protected KFontAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFontAction(String text, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,cut,parent,name); - } - private native void newKFontAction(String text, KShortcut cut, TQObject parent, String name); - public KFontAction(String text, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontAction(text,cut,parent); - } - private native void newKFontAction(String text, KShortcut cut, TQObject parent); - public KFontAction(String text, KShortcut cut) { - super((Class) null); - newKFontAction(text,cut); - } - private native void newKFontAction(String text, KShortcut cut); - public KFontAction(String text) { - super((Class) null); - newKFontAction(text); - } - private native void newKFontAction(String text); - public KFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,cut,receiver,slot,parent,name); - } - private native void newKFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontAction(text,cut,receiver,slot,parent); - } - private native void newKFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,pix,cut,parent,name); - } - private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontAction(text,pix,cut,parent); - } - private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KFontAction(String text, TQIconSet pix, KShortcut cut) { - super((Class) null); - newKFontAction(text,pix,cut); - } - private native void newKFontAction(String text, TQIconSet pix, KShortcut cut); - public KFontAction(String text, TQIconSet pix) { - super((Class) null); - newKFontAction(text,pix); - } - private native void newKFontAction(String text, TQIconSet pix); - public KFontAction(String text, String pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,pix,cut,parent,name); - } - private native void newKFontAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KFontAction(String text, String pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontAction(text,pix,cut,parent); - } - private native void newKFontAction(String text, String pix, KShortcut cut, TQObject parent); - public KFontAction(String text, String pix, KShortcut cut) { - super((Class) null); - newKFontAction(text,pix,cut); - } - private native void newKFontAction(String text, String pix, KShortcut cut); - public KFontAction(String text, String pix) { - super((Class) null); - newKFontAction(text,pix); - } - private native void newKFontAction(String text, String pix); - public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontAction(text,pix,cut,receiver,slot,parent); - } - private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontAction(text,pix,cut,receiver,slot,parent); - } - private native void newKFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontAction(fontListCriteria,text,cut,parent,name); - } - private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent, String name); - public KFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontAction(fontListCriteria,text,cut,parent); - } - private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent); - public KFontAction(int fontListCriteria, String text, KShortcut cut) { - super((Class) null); - newKFontAction(fontListCriteria,text,cut); - } - private native void newKFontAction(int fontListCriteria, String text, KShortcut cut); - public KFontAction(int fontListCriteria, String text) { - super((Class) null); - newKFontAction(fontListCriteria,text); - } - private native void newKFontAction(int fontListCriteria, String text); - public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontAction(fontListCriteria,text,pix,cut,parent,name); - } - private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent, String name); - public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontAction(fontListCriteria,text,pix,cut,parent); - } - private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent); - public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut) { - super((Class) null); - newKFontAction(fontListCriteria,text,pix,cut); - } - private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut); - public KFontAction(int fontListCriteria, String text, String pix) { - super((Class) null); - newKFontAction(fontListCriteria,text,pix); - } - private native void newKFontAction(int fontListCriteria, String text, String pix); - public KFontAction(TQObject parent, String name) { - super((Class) null); - newKFontAction(parent,name); - } - private native void newKFontAction(TQObject parent, String name); - public KFontAction(TQObject parent) { - super((Class) null); - newKFontAction(parent); - } - private native void newKFontAction(TQObject parent); - public KFontAction() { - super((Class) null); - newKFontAction(); - } - private native void newKFontAction(); - public native String font(); - public native int plug(TQWidget arg1, int index); - public native int plug(TQWidget arg1); - public native void setFont(String family); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KFontSizeAction.java b/kdejava/koala/org/kde/koala/KFontSizeAction.java deleted file mode 100644 index 4a970fdf..00000000 --- a/kdejava/koala/org/kde/koala/KFontSizeAction.java +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - See {@link KFontSizeActionSignals} for signals emitted by KFontSizeAction -*/ -public class KFontSizeAction extends KSelectAction { - protected KFontSizeAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KFontSizeAction(String text, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,cut,parent,name); - } - private native void newKFontSizeAction(String text, KShortcut cut, TQObject parent, String name); - public KFontSizeAction(String text, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,cut,parent); - } - private native void newKFontSizeAction(String text, KShortcut cut, TQObject parent); - public KFontSizeAction(String text, KShortcut cut) { - super((Class) null); - newKFontSizeAction(text,cut); - } - private native void newKFontSizeAction(String text, KShortcut cut); - public KFontSizeAction(String text) { - super((Class) null); - newKFontSizeAction(text); - } - private native void newKFontSizeAction(String text); - public KFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,cut,receiver,slot,parent,name); - } - private native void newKFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,cut,receiver,slot,parent); - } - private native void newKFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,pix,cut,parent,name); - } - private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,pix,cut,parent); - } - private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KFontSizeAction(String text, TQIconSet pix, KShortcut cut) { - super((Class) null); - newKFontSizeAction(text,pix,cut); - } - private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut); - public KFontSizeAction(String text, TQIconSet pix) { - super((Class) null); - newKFontSizeAction(text,pix); - } - private native void newKFontSizeAction(String text, TQIconSet pix); - public KFontSizeAction(String text, String pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,pix,cut,parent,name); - } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KFontSizeAction(String text, String pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,pix,cut,parent); - } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject parent); - public KFontSizeAction(String text, String pix, KShortcut cut) { - super((Class) null); - newKFontSizeAction(text,pix,cut); - } - private native void newKFontSizeAction(String text, String pix, KShortcut cut); - public KFontSizeAction(String text, String pix) { - super((Class) null); - newKFontSizeAction(text,pix); - } - private native void newKFontSizeAction(String text, String pix); - public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,pix,cut,receiver,slot,parent); - } - private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKFontSizeAction(text,pix,cut,receiver,slot,parent); - } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KFontSizeAction(TQObject parent, String name) { - super((Class) null); - newKFontSizeAction(parent,name); - } - private native void newKFontSizeAction(TQObject parent, String name); - public KFontSizeAction(TQObject parent) { - super((Class) null); - newKFontSizeAction(parent); - } - private native void newKFontSizeAction(TQObject parent); - public KFontSizeAction() { - super((Class) null); - newKFontSizeAction(); - } - private native void newKFontSizeAction(); - public native int fontSize(); - public native void setFontSize(int size); - protected native void slotActivated(int arg1); - protected native void slotActivated(String arg1); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KGradientSelector.java b/kdejava/koala/org/kde/koala/KGradientSelector.java index 911fca0e..e9269952 100644 --- a/kdejava/koala/org/kde/koala/KGradientSelector.java +++ b/kdejava/koala/org/kde/koala/KGradientSelector.java @@ -18,7 +18,7 @@ import org.kde.qt.TQWidget; @short The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer. */ -public class KGradientSelector extends KSelector { +public class KGradientSelector extends TDESelector { protected KGradientSelector(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KHelpMenu.java b/kdejava/koala/org/kde/koala/KHelpMenu.java index 6f79aeec..48a32b33 100644 --- a/kdejava/koala/org/kde/koala/KHelpMenu.java +++ b/kdejava/koala/org/kde/koala/KHelpMenu.java @@ -11,10 +11,10 @@ import org.kde.qt.TQObject; This class provides the standard %KDE help menu with the default "about" dialog boxes and help entry. - This class is used in KMainWindow so + This class is used in TDEMainWindow so normally you don't need to use this class yourself. However, if you need the help menu or any of its dialog boxes in your code that is - not subclassed from KMainWindow you should use this class. + not subclassed from TDEMainWindow you should use this class. The usage is simple: <pre> mHelpMenu = new KHelpMenu( this, <someText> ); @@ -26,7 +26,7 @@ import org.kde.qt.TQObject; connect( this, SIGNAL("someSignal()"), mHelpMenu,SLOT("mHelpMenu.aboutKDE()")); </pre> IMPORTANT: - The first time you use KHelpMenu.menu(), a KPopupMenu object is + The first time you use KHelpMenu.menu(), a TDEPopupMenu object is allocated. Only one object is created by the class so if you call KHelpMenu.menu() twice or more, the same pointer is returned. The class will destroy the popupmenu in the destructor so do not delete this @@ -66,7 +66,7 @@ import org.kde.qt.TQObject; void MyClass.myFunc() { KHelpMenu helpMenu = new KHelpMenu( this ); - KPopupMenu help = mHelpMenu.menu(); + TDEPopupMenu help = mHelpMenu.menu(); help.connectItem( KHelpMenu.menuAboutApp, this, SLOT("myDialogSlot()") ); } void MyClass.myDialogSlot() @@ -132,15 +132,15 @@ public class KHelpMenu extends TQObject { @param aboutData User and app data used in the About app dialog @param showWhatsThis Decides whether a "Whats this" entry will be added to the dialog. - @param actions KActionCollection that is used instead of the + @param actions TDEActionCollection that is used instead of the standard actions. @short Constructor. */ - public KHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, KActionCollection actions) { + public KHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, TDEActionCollection actions) { super((Class) null); newKHelpMenu(parent,aboutData,showWhatsThis,actions); } - private native void newKHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, KActionCollection actions); + private native void newKHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis, TDEActionCollection actions); public KHelpMenu(TQWidget parent, TDEAboutData aboutData, boolean showWhatsThis) { super((Class) null); newKHelpMenu(parent,aboutData,showWhatsThis); @@ -158,7 +158,7 @@ public class KHelpMenu extends TQObject { you call this method twice or more the same pointer is returned @short Returns a popup menu you can use in the menu bar or where you need it. */ - public native KPopupMenu menu(); + public native TDEPopupMenu menu(); /** Opens the help page for the application. The application name is used as a key to determine what to display and the system will attempt diff --git a/kdejava/koala/org/kde/koala/KKey.java b/kdejava/koala/org/kde/koala/KKey.java index 3bc06cf6..9a021119 100644 --- a/kdejava/koala/org/kde/koala/KKey.java +++ b/kdejava/koala/org/kde/koala/KKey.java @@ -15,7 +15,7 @@ import org.kde.qt.TQKeyEvent; @short A KKey object represents a single key with possible modifiers (Shift, Ctrl, Alt, Win). @see KKeyNative @see KKeySequence - @see KShortcut + @see TDEShortcut */ public class KKey implements QtSupport { diff --git a/kdejava/koala/org/kde/koala/KKeyButton.java b/kdejava/koala/org/kde/koala/KKeyButton.java index 8d7c27e8..e3e034b8 100644 --- a/kdejava/koala/org/kde/koala/KKeyButton.java +++ b/kdejava/koala/org/kde/koala/KKeyButton.java @@ -46,8 +46,8 @@ public class KKeyButton extends TQPushButton { newKKeyButton(); } private native void newKKeyButton(); - public native void setShortcut(KShortcut cut, boolean bQtShortcut); - public native KShortcut shortcut(); + public native void setShortcut(TDEShortcut cut, boolean bQtShortcut); + public native TDEShortcut shortcut(); /** Reimplemented for internal purposes. @short Reimplemented for internal purposes. diff --git a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java b/kdejava/koala/org/kde/koala/KKeyButtonSignals.java index 73f3e25e..ad86343a 100644 --- a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KKeyButtonSignals.java @@ -7,5 +7,5 @@ import org.kde.qt.TQPainter; import org.kde.qt.TQWidget; public interface KKeyButtonSignals { - void capturedShortcut(KShortcut arg1); + void capturedShortcut(TDEShortcut arg1); } diff --git a/kdejava/koala/org/kde/koala/KKeyChooser.java b/kdejava/koala/org/kde/koala/KKeyChooser.java index c90616f3..8e23ae50 100644 --- a/kdejava/koala/org/kde/koala/KKeyChooser.java +++ b/kdejava/koala/org/kde/koala/KKeyChooser.java @@ -12,7 +12,7 @@ import org.kde.qt.TQWidget; /** - Configure dictionaries of key/action associations for KAccel and + Configure dictionaries of key/action associations for TDEAccel and TDEGlobalAccel. The class takes care of all aspects of configuration, including handling key conflicts internally. Connect to the allDefault() @@ -21,7 +21,7 @@ import org.kde.qt.TQWidget; See {@link KKeyChooserSignals} for signals emitted by KKeyChooser @author Nicolas Hadacek <hadacek@via.ecp.fr> - @short Widget for configuration of KAccel and TDEGlobalAccel. + @short Widget for configuration of TDEAccel and TDEGlobalAccel. @see KKeyDialog */ @@ -56,56 +56,56 @@ public class KKeyChooser extends TQWidget { /** \overload @param parent parent widget - @param coll the KActionCollection to configure + @param coll the TDEActionCollection to configure @param bAllowLetterShortcuts Set to false if unmodified alphanumeric keys ('A', '1', etc.) are not permissible shortcuts. @short \overload */ - public KKeyChooser(KActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts) { + public KKeyChooser(TDEActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts) { super((Class) null); newKKeyChooser(coll,parent,bAllowLetterShortcuts); } - private native void newKKeyChooser(KActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(KActionCollection coll, TQWidget parent) { + private native void newKKeyChooser(TDEActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts); + public KKeyChooser(TDEActionCollection coll, TQWidget parent) { super((Class) null); newKKeyChooser(coll,parent); } - private native void newKKeyChooser(KActionCollection coll, TQWidget parent); - public KKeyChooser(KAccel actions, TQWidget parent, boolean bAllowLetterShortcuts) { + private native void newKKeyChooser(TDEActionCollection coll, TQWidget parent); + public KKeyChooser(TDEAccel actions, TQWidget parent, boolean bAllowLetterShortcuts) { super((Class) null); newKKeyChooser(actions,parent,bAllowLetterShortcuts); } - private native void newKKeyChooser(KAccel actions, TQWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(KAccel actions, TQWidget parent) { + private native void newKKeyChooser(TDEAccel actions, TQWidget parent, boolean bAllowLetterShortcuts); + public KKeyChooser(TDEAccel actions, TQWidget parent) { super((Class) null); newKKeyChooser(actions,parent); } - private native void newKKeyChooser(KAccel actions, TQWidget parent); + private native void newKKeyChooser(TDEAccel actions, TQWidget parent); public KKeyChooser(TDEGlobalAccel actions, TQWidget parent) { super((Class) null); newKKeyChooser(actions,parent); } private native void newKKeyChooser(TDEGlobalAccel actions, TQWidget parent); - // KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED - // KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3); >>>> NOT CONVERTED - public KKeyChooser(KShortcutList arg1, TQWidget parent) { + // KKeyChooser* KKeyChooser(TDEShortcutList* arg1,TQWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED + // KKeyChooser* KKeyChooser(TDEShortcutList* arg1,TQWidget* arg2,ActionType arg3); >>>> NOT CONVERTED + public KKeyChooser(TDEShortcutList arg1, TQWidget parent) { super((Class) null); newKKeyChooser(arg1,parent); } - private native void newKKeyChooser(KShortcutList arg1, TQWidget parent); + private native void newKKeyChooser(TDEShortcutList arg1, TQWidget parent); /** Insert an action collection, i.e. add all its actions to the ones already associated with the KKeyChooser object. @short Insert an action collection, i. */ - public native boolean insert(KActionCollection arg1); + public native boolean insert(TDEActionCollection arg1); /** Insert an action collection, i.e. add all its actions to the ones already associated with the KKeyChooser object. @param title subtree title of this collection of shortcut. @short Insert an action collection, i. */ - public native boolean insert(KActionCollection arg1, String title); + public native boolean insert(TDEActionCollection arg1, String title); public native void syncToConfig(String sConfigGroup, TDEConfigBase pConfig, boolean bClearUnset); /** This function writes any shortcut changes back to the original @@ -115,7 +115,7 @@ public class KKeyChooser extends TQWidget { public native void commitChanges(); /** This commits and then saves the actions to disk. - Any KActionCollection objects with the xmlFile() value set + Any TDEActionCollection objects with the xmlFile() value set will be written to an XML file. All other will be written to the application's rc file. @short This commits and then saves the actions to disk. @@ -151,7 +151,7 @@ public class KKeyChooser extends TQWidget { @short Checks whether the given shortcut conflicts with global keyboard shortcuts. */ - public static native boolean checkGlobalShortcutsConflict(KShortcut cut, boolean warnUser, TQWidget parent); + public static native boolean checkGlobalShortcutsConflict(TDEShortcut cut, boolean warnUser, TQWidget parent); /** Checks whether the given shortcut conflicts with standard keyboard shortcuts. If yes, and the warnUser argument is true, warns the user and gives them a chance @@ -164,26 +164,26 @@ public class KKeyChooser extends TQWidget { @short Checks whether the given shortcut conflicts with standard keyboard shortcuts. */ - public static native boolean checkStandardShortcutsConflict(KShortcut cut, boolean warnUser, TQWidget parent); + public static native boolean checkStandardShortcutsConflict(TDEShortcut cut, boolean warnUser, TQWidget parent); // void initGUI(ActionType arg1,bool arg2); >>>> NOT CONVERTED - protected native boolean insert(KAccel arg1); + protected native boolean insert(TDEAccel arg1); protected native boolean insert(TDEGlobalAccel arg1); - protected native boolean insert(KShortcutList arg1); + protected native boolean insert(TDEShortcutList arg1); protected native void buildListView(int iList, String title); protected native void buildListView(int iList); protected native void readGlobalKeys(); protected native void updateButtons(); protected native void fontChange(TQFont _font); - protected native void setShortcut(KShortcut cut); - protected native boolean isKeyPresent(KShortcut cut, boolean warnuser); - protected native boolean isKeyPresent(KShortcut cut); - // bool isKeyPresentLocally(const KShortcut& arg1,KKeyChooserItem* arg2,const TQString& arg3); >>>> NOT CONVERTED + protected native void setShortcut(TDEShortcut cut); + protected native boolean isKeyPresent(TDEShortcut cut, boolean warnuser); + protected native boolean isKeyPresent(TDEShortcut cut); + // bool isKeyPresentLocally(const TDEShortcut& arg1,KKeyChooserItem* arg2,const TQString& arg3); >>>> NOT CONVERTED protected native void _warning(KKeySequence seq, String sAction, String sTitle); protected native void slotNoKey(); protected native void slotDefaultKey(); protected native void slotCustomKey(); protected native void slotListItemSelected(TQListViewItem item); - protected native void capturedShortcut(KShortcut cut); + protected native void capturedShortcut(TDEShortcut cut); protected native void slotSettingsChanged(int arg1); protected native void slotListItemDoubleClicked(TQListViewItem ipoTQListViewItem, TQPoint ipoTQPoint, int c); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KKeyDialog.java b/kdejava/koala/org/kde/koala/KKeyDialog.java index 1e2a9ab6..a94c6831 100644 --- a/kdejava/koala/org/kde/koala/KKeyDialog.java +++ b/kdejava/koala/org/kde/koala/KKeyDialog.java @@ -9,16 +9,16 @@ import org.kde.qt.TQWidget; /** The KKeyDialog class is used for configuring dictionaries of key/action - associations for KActionCollection, KAccel, and TDEGlobalAccel. It uses the KKeyChooser widget + associations for TDEActionCollection, TDEAccel, and TDEGlobalAccel. It uses the KKeyChooser widget and offers buttons to set all keys to defaults and invoke on-line help. Several static methods are supplied which provide the most convenient interface - to the dialog. The most common and most encouraged use is with KActionCollection. + to the dialog. The most common and most encouraged use is with TDEActionCollection. <pre> KKeyDialog.configure( actionCollection() ); </pre> @author Nicolas Hadacek <hadacek@via.ecp.fr> - @short Dialog for configuration of KActionCollection, KAccel, and TDEGlobalAccel. + @short Dialog for configuration of TDEActionCollection, TDEAccel, and TDEGlobalAccel. */ public class KKeyDialog extends KDialogBase { @@ -61,7 +61,7 @@ public class KKeyDialog extends KDialogBase { @short Insert an action collection, i. */ - public native boolean insert(KActionCollection arg1); + public native boolean insert(TDEActionCollection arg1); /** Insert an action collection, i.e. add all its actions to the ones displayed by the dialog. @@ -74,7 +74,7 @@ public class KKeyDialog extends KDialogBase { @short Insert an action collection, i. */ - public native boolean insert(KActionCollection arg1, String title); + public native boolean insert(TDEActionCollection arg1, String title); /** Run the dialog and call commitChanges() if <code>bSaveSettings</code> is true. @@ -98,18 +98,18 @@ public class KKeyDialog extends KDialogBase { @short Pops up a modal dialog for configuring key settings. */ - public static native int configure(KActionCollection coll, TQWidget parent, boolean bSaveSettings); - public static native int configure(KActionCollection coll, TQWidget parent); - public static native int configure(KActionCollection coll); + public static native int configure(TDEActionCollection coll, TQWidget parent, boolean bSaveSettings); + public static native int configure(TDEActionCollection coll, TQWidget parent); + public static native int configure(TDEActionCollection coll); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function, except that settings are saved to a .rc file using TDEConfig. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KAccel keys, TQWidget parent, boolean bSaveSettings); - public static native int configure(KAccel keys, TQWidget parent); - public static native int configure(KAccel keys); + public static native int configure(TDEAccel keys, TQWidget parent, boolean bSaveSettings); + public static native int configure(TDEAccel keys, TQWidget parent); + public static native int configure(TDEAccel keys); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -121,7 +121,7 @@ public class KKeyDialog extends KDialogBase { /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. - @param coll the KActionCollection to configure + @param coll the TDEActionCollection to configure @param bAllowLetterShortcuts Set to false if unmodified alphanumeric keys ('A', '1', etc.) are not permissible shortcuts. @param parent the parent widget to attach to @@ -129,17 +129,17 @@ public class KKeyDialog extends KDialogBase { the uirc file which they were intially read from. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); - public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent); - public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts); + public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); + public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent); + public static native int configure(TDEActionCollection coll, boolean bAllowLetterShortcuts); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); - public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); - public static native int configure(KAccel keys, boolean bAllowLetterShortcuts); + public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); + public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); + public static native int configure(TDEAccel keys, boolean bAllowLetterShortcuts); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. diff --git a/kdejava/koala/org/kde/koala/KKeySequence.java b/kdejava/koala/org/kde/koala/KKeySequence.java index 23b725c5..abe0a8fb 100644 --- a/kdejava/koala/org/kde/koala/KKeySequence.java +++ b/kdejava/koala/org/kde/koala/KKeySequence.java @@ -11,7 +11,7 @@ import org.kde.qt.QtSupport; Ex: Ctrl+X,I @short A KKeySequence object holds a sequence of up to 4 keys. @see KKey - @see KShortcut + @see TDEShortcut */ public class KKeySequence implements QtSupport { diff --git a/kdejava/koala/org/kde/koala/KLineEdit.java b/kdejava/koala/org/kde/koala/KLineEdit.java index fc79bbc9..25b38f18 100644 --- a/kdejava/koala/org/kde/koala/KLineEdit.java +++ b/kdejava/koala/org/kde/koala/KLineEdit.java @@ -46,7 +46,7 @@ import org.kde.qt.TQLineEdit; simply use KCompletionBase.setHandleSignals( boolean ) or set the booleanean parameter in the above functions to false. The default key-bindings for completion and rotation is determined - from the global settings in KStdAccel. These values, however, + from the global settings in TDEStdAccel. These values, however, can be overridden locally by invoking KCompletionBase.setKeyBinding(). The values can easily be reverted back to the default setting, by simply calling useGlobalSettings(). An alternate method would be to default @@ -541,7 +541,7 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface { @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. @see #getKeyBinding */ - public native boolean setKeyBinding(int item, KShortcut key); + public native boolean setKeyBinding(int item, TDEShortcut key); /** Returns the key-binding used for the specified item. This methods returns the key-binding used to activate @@ -554,7 +554,7 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface { @short Returns the key-binding used for the specified item. @see #setKeyBinding */ - public native KShortcut getKeyBinding(int item); + public native TDEShortcut getKeyBinding(int item); /** Sets this object to use global values for key-bindings. This method changes the values of the key bindings for diff --git a/kdejava/koala/org/kde/koala/KListAction.java b/kdejava/koala/org/kde/koala/KListAction.java deleted file mode 100644 index c7efc164..00000000 --- a/kdejava/koala/org/kde/koala/KListAction.java +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - - @short - -*/ -public class KListAction extends KSelectAction { - protected KListAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a list action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a list action with text and potential keyboard accelerator but nothing else. - */ - public KListAction(String text, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKListAction(text,cut,parent,name); - } - private native void newKListAction(String text, KShortcut cut, TQObject parent, String name); - public KListAction(String text, KShortcut cut, TQObject parent) { - super((Class) null); - newKListAction(text,cut,parent); - } - private native void newKListAction(String text, KShortcut cut, TQObject parent); - public KListAction(String text, KShortcut cut) { - super((Class) null); - newKListAction(text,cut); - } - private native void newKListAction(String text, KShortcut cut); - public KListAction(String text) { - super((Class) null); - newKListAction(text); - } - private native void newKListAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKListAction(text,cut,receiver,slot,parent,name); - } - private native void newKListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKListAction(text,cut,receiver,slot,parent); - } - private native void newKListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKListAction(text,pix,cut,parent,name); - } - private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKListAction(text,pix,cut,parent); - } - private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KListAction(String text, TQIconSet pix, KShortcut cut) { - super((Class) null); - newKListAction(text,pix,cut); - } - private native void newKListAction(String text, TQIconSet pix, KShortcut cut); - public KListAction(String text, TQIconSet pix) { - super((Class) null); - newKListAction(text,pix); - } - private native void newKListAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(String text, String pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKListAction(text,pix,cut,parent,name); - } - private native void newKListAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KListAction(String text, String pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKListAction(text,pix,cut,parent); - } - private native void newKListAction(String text, String pix, KShortcut cut, TQObject parent); - public KListAction(String text, String pix, KShortcut cut) { - super((Class) null); - newKListAction(text,pix,cut); - } - private native void newKListAction(String text, String pix, KShortcut cut); - public KListAction(String text, String pix) { - super((Class) null); - newKListAction(text,pix); - } - private native void newKListAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKListAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKListAction(text,pix,cut,receiver,slot,parent); - } - private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKListAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKListAction(text,pix,cut,receiver,slot,parent); - } - private native void newKListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KListAction(TQObject parent, String name) { - super((Class) null); - newKListAction(parent,name); - } - private native void newKListAction(TQObject parent, String name); - public KListAction(TQObject parent) { - super((Class) null); - newKListAction(parent); - } - private native void newKListAction(TQObject parent); - public KListAction() { - super((Class) null); - newKListAction(); - } - private native void newKListAction(); - public native String currentText(); - public native int currentItem(); - /** - Sets the currently checked item. - @param index Index of the item (remember the first item is zero). - @short Sets the currently checked item. - */ - public native void setCurrentItem(int index); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KListViewItem.java b/kdejava/koala/org/kde/koala/KListViewItem.java deleted file mode 100644 index 303f3ccf..00000000 --- a/kdejava/koala/org/kde/koala/KListViewItem.java +++ /dev/null @@ -1,232 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQListViewItem; -import org.kde.qt.QtSupport; -import org.kde.qt.TQListView; -import org.kde.qt.TQPainter; -import org.kde.qt.TQColorGroup; -import org.kde.qt.TQListViewItem; - -/** - - A listview item with support for alternate background colors. It is - a drop-in replacement for TQListViewItem - @short listview item with alternate background color support. - -*/ -public class KListViewItem extends TQListViewItem { - protected KListViewItem(Class dummy){super((Class) null);} - /** - constructors. The semantics remain as in TQListViewItem. - Although they accept a TQListViewItem as parent, please - don't mix KListViewItem (or subclasses) with TQListViewItem - (or subclasses). - @short constructors. - */ - public KListViewItem(TQListView parent) { - super((Class) null); - newKListViewItem(parent); - } - private native void newKListViewItem(TQListView parent); - public KListViewItem(TQListViewItem parent) { - super((Class) null); - newKListViewItem(parent); - } - private native void newKListViewItem(TQListViewItem parent); - public KListViewItem(TQListView parent, TQListViewItem after) { - super((Class) null); - newKListViewItem(parent,after); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after); - public KListViewItem(TQListViewItem parent, TQListViewItem after) { - super((Class) null); - newKListViewItem(parent,after); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); - public KListViewItem(TQListView parent, String arg2, String arg3, String arg4) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4); - public KListViewItem(TQListView parent, String arg2, String arg3) { - super((Class) null); - newKListViewItem(parent,arg2,arg3); - } - private native void newKListViewItem(TQListView parent, String arg2, String arg3); - public KListViewItem(TQListView parent, String arg2) { - super((Class) null); - newKListViewItem(parent,arg2); - } - private native void newKListViewItem(TQListView parent, String arg2); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4,arg5); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); - public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { - super((Class) null); - newKListViewItem(parent,arg2,arg3,arg4); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); - public KListViewItem(TQListViewItem parent, String arg2, String arg3) { - super((Class) null); - newKListViewItem(parent,arg2,arg3); - } - private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3); - public KListViewItem(TQListViewItem parent, String arg2) { - super((Class) null); - newKListViewItem(parent,arg2); - } - private native void newKListViewItem(TQListViewItem parent, String arg2); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); - public KListViewItem(TQListView parent, TQListViewItem after, String arg3) { - super((Class) null); - newKListViewItem(parent,after,arg3); - } - private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5,arg6); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4,arg5); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { - super((Class) null); - newKListViewItem(parent,after,arg3,arg4); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); - public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { - super((Class) null); - newKListViewItem(parent,after,arg3); - } - private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); - public native void insertItem(TQListViewItem item); - public native void takeItem(TQListViewItem item); - /** - returns true if this item is to be drawn with the alternate background - @short returns true if this item is to be drawn with the alternate background - */ - public native boolean isAlternate(); - /** - returns the background color for this item at given column - This can be different in the column which is sorted due to shading - ### could be merged with above (column = -1) to be source compatible - ### but will only work if sort-shading is not used or the listView has - ### only 1 column - @short returns the background color for this item at given column This can be different in the column which is sorted due to shading ### could be merged with above (column = -1) to be source compatible ### but will only work if sort-shading is not used or the listView has ### only 1 column - */ - public native TQColor backgroundColor(int column); - public native void paintCell(TQPainter p, TQColorGroup cg, int column, int width, int alignment); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBar.java b/kdejava/koala/org/kde/koala/KMdiTaskBar.java index 85f14541..f4ed3612 100644 --- a/kdejava/koala/org/kde/koala/KMdiTaskBar.java +++ b/kdejava/koala/org/kde/koala/KMdiTaskBar.java @@ -14,7 +14,7 @@ import org.kde.qt.TQResizeEvent; @short Internal class. */ -public class KMdiTaskBar extends KToolBar { +public class KMdiTaskBar extends TDEToolBar { protected KMdiTaskBar(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KPanelMenu.java b/kdejava/koala/org/kde/koala/KPanelMenu.java index d5fd2308..114769cf 100644 --- a/kdejava/koala/org/kde/koala/KPanelMenu.java +++ b/kdejava/koala/org/kde/koala/KPanelMenu.java @@ -24,7 +24,7 @@ import org.kde.qt.TQWidget; @short Base class to build dynamically loaded menu entries for the K-menu, or the panel. */ -public class KPanelMenu extends KPopupMenu { +public class KPanelMenu extends TDEPopupMenu { protected KPanelMenu(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KPrintAction.java b/kdejava/koala/org/kde/koala/KPrintAction.java index 42c5c686..c32483f5 100644 --- a/kdejava/koala/org/kde/koala/KPrintAction.java +++ b/kdejava/koala/org/kde/koala/KPrintAction.java @@ -11,7 +11,7 @@ import org.kde.qt.TQWidget; /** See {@link KPrintActionSignals} for signals emitted by KPrintAction */ -public class KPrintAction extends KActionMenu { +public class KPrintAction extends TDEActionMenu { protected KPrintAction(Class dummy){super((Class) null);} public static final int All = 0; public static final int Regular = 1; diff --git a/kdejava/koala/org/kde/koala/KRadioAction.java b/kdejava/koala/org/kde/koala/KRadioAction.java deleted file mode 100644 index 8f59112e..00000000 --- a/kdejava/koala/org/kde/koala/KRadioAction.java +++ /dev/null @@ -1,193 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQIconSet; - -/** - - An action that operates like a radio button. At any given time - only a single action from the group will be active. - @short Radiobox like action. - -*/ -public class KRadioAction extends KToggleAction { - protected KRadioAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a radio action with text and potential keyboard - accelerator but nothing else. Use this only if you really - know what you are doing. - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a radio action with text and potential keyboard accelerator but nothing else. - */ - public KRadioAction(String text, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,cut,parent,name); - } - private native void newKRadioAction(String text, KShortcut cut, TQObject parent, String name); - public KRadioAction(String text, KShortcut cut, TQObject parent) { - super((Class) null); - newKRadioAction(text,cut,parent); - } - private native void newKRadioAction(String text, KShortcut cut, TQObject parent); - public KRadioAction(String text, KShortcut cut) { - super((Class) null); - newKRadioAction(text,cut); - } - private native void newKRadioAction(String text, KShortcut cut); - public KRadioAction(String text) { - super((Class) null); - newKRadioAction(text); - } - private native void newKRadioAction(String text); - /** - @param text The text that will be displayed. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,cut,receiver,slot,parent,name); - } - private native void newKRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKRadioAction(text,cut,receiver,slot,parent); - } - private native void newKRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,pix,cut,parent,name); - } - private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKRadioAction(text,pix,cut,parent); - } - private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KRadioAction(String text, TQIconSet pix, KShortcut cut) { - super((Class) null); - newKRadioAction(text,pix,cut); - } - private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut); - public KRadioAction(String text, TQIconSet pix) { - super((Class) null); - newKRadioAction(text,pix); - } - private native void newKRadioAction(String text, TQIconSet pix); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(String text, String pix, KShortcut cut, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,pix,cut,parent,name); - } - private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KRadioAction(String text, String pix, KShortcut cut, TQObject parent) { - super((Class) null); - newKRadioAction(text,pix,cut,parent); - } - private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject parent); - public KRadioAction(String text, String pix, KShortcut cut) { - super((Class) null); - newKRadioAction(text,pix,cut); - } - private native void newKRadioAction(String text, String pix, KShortcut cut); - public KRadioAction(String text, String pix) { - super((Class) null); - newKRadioAction(text,pix); - } - private native void newKRadioAction(String text, String pix); - /** - @param text The text that will be displayed. - @param pix The icons that go with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKRadioAction(text,pix,cut,receiver,slot,parent); - } - private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param text The text that will be displayed. - @param pix The dynamically loaded icon that goes with this action. - @param cut The corresponding keyboard accelerator (shortcut). - @param receiver The SLOT's parent. - @param slot The SLOT to invoke to execute this action. - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { - super((Class) null); - newKRadioAction(text,pix,cut,receiver,slot,parent,name); - } - private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { - super((Class) null); - newKRadioAction(text,pix,cut,receiver,slot,parent); - } - private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); - /** - @param parent This action's parent. - @param name An internal name for this action. - @short - */ - public KRadioAction(TQObject parent, String name) { - super((Class) null); - newKRadioAction(parent,name); - } - private native void newKRadioAction(TQObject parent, String name); - public KRadioAction(TQObject parent) { - super((Class) null); - newKRadioAction(parent); - } - private native void newKRadioAction(TQObject parent); - public KRadioAction() { - super((Class) null); - newKRadioAction(); - } - private native void newKRadioAction(); - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KSessionManaged.java b/kdejava/koala/org/kde/koala/KSessionManaged.java index 8e0c6a93..1797c205 100644 --- a/kdejava/koala/org/kde/koala/KSessionManaged.java +++ b/kdejava/koala/org/kde/koala/KSessionManaged.java @@ -11,11 +11,11 @@ import org.kde.qt.TQSessionManager; base. KSessionManaged makes it possible to provide implementations for TQApplication.commitData() and TQApplication.saveState(), without - subclassing TDEApplication. KMainWindow internally makes use of this. + subclassing TDEApplication. TDEMainWindow internally makes use of this. You don't need to do anything with this class when using - KMainWindow. Instead, use KMainWindow.saveProperties(), - KMainWindow.readProperties(), KMainWindow.queryClose(), - KMainWindow.queryExit() and friends. + TDEMainWindow. Instead, use TDEMainWindow.saveProperties(), + TDEMainWindow.readProperties(), TDEMainWindow.queryClose(), + TDEMainWindow.queryExit() and friends. @author Matthias Ettrich <ettrich@kde.org> @short Highlevel access to session management. diff --git a/kdejava/koala/org/kde/koala/KStatusBar.java b/kdejava/koala/org/kde/koala/KStatusBar.java index f1f414d4..65ec7f8d 100644 --- a/kdejava/koala/org/kde/koala/KStatusBar.java +++ b/kdejava/koala/org/kde/koala/KStatusBar.java @@ -12,12 +12,12 @@ import org.kde.qt.TQStatusBar; Display status messages. You can insert text labels or custom widgets. Their geometry is managed internally. KStatusBar resizes itself, but positioning is left to - KMainWindow (or to you, if you don't use KMainWindow ). + TDEMainWindow (or to you, if you don't use TDEMainWindow ). A special type of item is a message which is a temporary text-message displayed on top of other items in full-width. Messages are visible for specified time, or until you call the slot TQStatusBar.clear(). See TQStatusBar.message for details. - It is useful to connect the KActionCollection signals to the + It is useful to connect the TDEActionCollection signals to the TQStatusBar.message slots. KStatusBar inherits TQStatusBar, you can freely use all TQStatusBar methods. @@ -27,7 +27,7 @@ import org.kde.qt.TQStatusBar; @author Mark Donohoe (donohoe@kde.org) Maintained by Sven Radej <radej@kde.org> @short %KDE statusbar widget. - @see KActionCollection + @see TDEActionCollection */ public class KStatusBar extends TQStatusBar { @@ -35,7 +35,7 @@ public class KStatusBar extends TQStatusBar { public native TQMetaObject metaObject(); public native String className(); /** - Constructs a status bar. <code>parent</code> is usually KMainWindow. + Constructs a status bar. <code>parent</code> is usually TDEMainWindow. @short Constructs a status bar. */ public KStatusBar(TQWidget parent, String name) { diff --git a/kdejava/koala/org/kde/koala/KStdAction.java b/kdejava/koala/org/kde/koala/KStdAction.java index 055a9cf5..fc9948e9 100644 --- a/kdejava/koala/org/kde/koala/KStdAction.java +++ b/kdejava/koala/org/kde/koala/KStdAction.java @@ -13,20 +13,20 @@ import org.kde.qt.TQWidget; These actions should be used instead of hardcoding menubar and toolbar items. Using these actions helps your application easily conform to the KDE UI Style Guide - All of the documentation for KAction holds for KStdAction - also. When in doubt on how things work, check the KAction + All of the documentation for TDEAction holds for KStdAction + also. When in doubt on how things work, check the TDEAction documention first. <li><b>Simple Example:</b></li> In general, using standard actions should be a drop in replacement for regular actions. For example, if you previously had: <pre> - KAction newAct = new KAction(i18n("&New"), TQIconSet(BarIcon("filenew")), - KStdAccel.shortcut(KStdAccel.New), this, + TDEAction newAct = new TDEAction(i18n("&New"), TQIconSet(BarIcon("filenew")), + TDEStdAccel.shortcut(TDEStdAccel.New), this, SLOT("fileNew()"), actionCollection()); </pre> You could drop that and replace it with: <pre> - KAction newAct = KStdAction.openNew(this, SLOT("fileNew()"), + TDEAction newAct = KStdAction.openNew(this, SLOT("fileNew()"), actionCollection()); </pre> <li><b>Non-standard Usages</b></li> @@ -57,7 +57,7 @@ import org.kde.qt.TQWidget; you instantiate it as in the the 'openNew' example above... or you could do it the hard way: <pre> - KAction cut = actionCollection().action(KStdAction.stdName(KStdAction.Cut)); + TDEAction cut = actionCollection().action(KStdAction.stdName(KStdAction.Cut)); </pre> Another non-standard usage concerns instantiating the action in the first place. Usually, you would use the member functions as @@ -149,8 +149,8 @@ public class KStdAction { KStdAction.StdAction enum. @short Creates an action corresponding to the KStdAction.StdAction enum. */ - public static native KAction create(int id, String name, TQObject recvr, String slot, KActionCollection parent); - public static native KAction create(int id, TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction create(int id, String name, TQObject recvr, String slot, TDEActionCollection parent); + public static native TDEAction create(int id, TQObject recvr, String slot, TDEActionCollection parent); /** This will return the internal name of a given standard action. @short This will return the internal name of a given standard action. @@ -158,7 +158,7 @@ public class KStdAction { public static native String name(int id); public static native String stdName(int act_enum); /** - Returns a list of all standard names. Used by KAccelManager + Returns a list of all standard names. Used by TDEAccelManager to give those heigher weight. @short Returns a list of all standard names. */ @@ -167,14 +167,14 @@ public class KStdAction { Create a new document or window. @short Create a new document or window. */ - public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction openNew(TQObject recvr, String slot, TDEActionCollection parent); /** Open an existing file. @short Open an existing file. */ - public static native KAction open(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction open(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction open(TQObject recvr, String slot, TDEActionCollection parent); /** Open a recently used document. The signature of the slot being called is of the form slotURLSelected( KURL ). @@ -185,360 +185,360 @@ public class KStdAction { @param name name of widget @short Open a recently used document. */ - public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent); + public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDERecentFilesAction openRecent(TQObject recvr, String slot, TDEActionCollection parent); /** Save the current document. @short Save the current document. */ - public static native KAction save(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction save(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction save(TQObject recvr, String slot, TDEActionCollection parent); /** Save the current document under a different name. @short Save the current document under a different name. */ - public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction saveAs(TQObject recvr, String slot, TDEActionCollection parent); /** Revert the current document to the last saved version (essentially will undo all changes). @short Revert the current document to the last saved version (essentially will undo all changes). */ - public static native KAction revert(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction revert(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction revert(TQObject recvr, String slot, TDEActionCollection parent); /** Close the current document. @short Close the current document. */ - public static native KAction close(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction close(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction close(TQObject recvr, String slot, TDEActionCollection parent); /** Print the current document. @short Print the current document. */ - public static native KAction print(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction print(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction print(TQObject recvr, String slot, TDEActionCollection parent); /** Show a print preview of the current document. @short Show a print preview of the current document. */ - public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction printPreview(TQObject recvr, String slot, TDEActionCollection parent); /** Mail this document. @short Mail this document. */ - public static native KAction mail(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction mail(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction mail(TQObject recvr, String slot, TDEActionCollection parent); /** Quit the program. @short Quit the program. */ - public static native KAction quit(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction quit(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction quit(TQObject recvr, String slot, TDEActionCollection parent); /** Undo the last operation. @short Undo the last operation. */ - public static native KAction undo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction undo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction undo(TQObject recvr, String slot, TDEActionCollection parent); /** Redo the last operation. @short Redo the last operation. */ - public static native KAction redo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction redo(TQObject recvr, String slot, TDEActionCollection parent); /** Cut selected area and store it in the clipboard. @short Cut selected area and store it in the clipboard. */ - public static native KAction cut(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction cut(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction cut(TQObject recvr, String slot, TDEActionCollection parent); /** Copy the selected area into the clipboard. @short Copy the selected area into the clipboard. */ - public static native KAction copy(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction copy(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction copy(TQObject recvr, String slot, TDEActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction paste(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction paste(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction paste(TQObject recvr, String slot, TDEActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. Provide a button on the toolbar with the clipboard history menu if Klipper is running. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction pasteText(TQObject recvr, String slot, TDEActionCollection parent); /** Clear the content of the focus widget @short Clear the content of the focus widget */ - public static native KAction clear(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction clear(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction clear(TQObject recvr, String slot, TDEActionCollection parent); /** Select all elements in the current document. @short Select all elements in the current document. */ - public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction selectAll(TQObject recvr, String slot, TDEActionCollection parent); /** Deselect any selected elements in the current document. @short Deselect any selected elements in the current document. */ - public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction deselect(TQObject recvr, String slot, TDEActionCollection parent); /** Initiate a 'find' request in the current document. @short Initiate a 'find' request in the current document. */ - public static native KAction find(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction find(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction find(TQObject recvr, String slot, TDEActionCollection parent); /** Find the next instance of a stored 'find'. @short Find the next instance of a stored 'find'. */ - public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction findNext(TQObject recvr, String slot, TDEActionCollection parent); /** Find a previous instance of a stored 'find'. @short Find a previous instance of a stored 'find'. */ - public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction findPrev(TQObject recvr, String slot, TDEActionCollection parent); /** Find and replace matches. @short Find and replace matches. */ - public static native KAction replace(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction replace(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction replace(TQObject recvr, String slot, TDEActionCollection parent); /** View the document at its actual size. @short View the document at its actual size. */ - public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction actualSize(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the size of the current window. @short Fit the document view to the size of the current window. */ - public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToPage(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the width of the current window. @short Fit the document view to the width of the current window. */ - public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToWidth(TQObject recvr, String slot, TDEActionCollection parent); /** Fit the document view to the height of the current window. @short Fit the document view to the height of the current window. */ - public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction fitToHeight(TQObject recvr, String slot, TDEActionCollection parent); /** Zoom in. @short Zoom in. */ - public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoomIn(TQObject recvr, String slot, TDEActionCollection parent); /** Zoom out. @short Zoom out. */ - public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoomOut(TQObject recvr, String slot, TDEActionCollection parent); /** Popup a zoom dialog. @short Popup a zoom dialog. */ - public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction zoom(TQObject recvr, String slot, TDEActionCollection parent); /** Redisplay or redraw the document. @short Redisplay or redraw the document. */ - public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction redisplay(TQObject recvr, String slot, TDEActionCollection parent); /** Move up (web style menu). @short Move up (web style menu). */ - public static native KAction up(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction up(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction up(TQObject recvr, String slot, TDEActionCollection parent); /** Move back (web style menu). @short Move back (web style menu). */ - public static native KAction back(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction back(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction back(TQObject recvr, String slot, TDEActionCollection parent); /** Move forward (web style menu). @short Move forward (web style menu). */ - public static native KAction forward(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction forward(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction forward(TQObject recvr, String slot, TDEActionCollection parent); /** Go to the "Home" position or document. @short Go to the "Home" position or document. */ - public static native KAction home(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction home(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction home(TQObject recvr, String slot, TDEActionCollection parent); /** Scroll up one page. @short Scroll up one page. */ - public static native KAction prior(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction prior(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction prior(TQObject recvr, String slot, TDEActionCollection parent); /** Scroll down one page. @short Scroll down one page. */ - public static native KAction next(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction next(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction next(TQObject recvr, String slot, TDEActionCollection parent); /** Go to somewhere in general. @short Go to somewhere in general. */ - public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction goTo(TQObject recvr, String slot, TDEActionCollection parent); /** Go to a specific page (dialog). @short Go to a specific page (dialog). */ - public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction gotoPage(TQObject recvr, String slot, TDEActionCollection parent); /** Go to a specific line (dialog). @short Go to a specific line (dialog). */ - public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction gotoLine(TQObject recvr, String slot, TDEActionCollection parent); /** Jump to the first page. @short Jump to the first page. */ - public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction firstPage(TQObject recvr, String slot, TDEActionCollection parent); /** Jump to the last page. @short Jump to the last page. */ - public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction lastPage(TQObject recvr, String slot, TDEActionCollection parent); /** Add the current page to the bookmarks tree. @short Add the current page to the bookmarks tree. */ - public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction addBookmark(TQObject recvr, String slot, TDEActionCollection parent); /** Edit the application bookmarks. @short Edit the application bookmarks. */ - public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction editBookmarks(TQObject recvr, String slot, TDEActionCollection parent); /** Pop up the spell checker. @short Pop up the spell checker. */ - public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction spelling(TQObject recvr, String slot, TDEActionCollection parent); /** Show/Hide the menubar. @short Show/Hide the menubar. */ - public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent); + public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEToggleAction showMenubar(TQObject recvr, String slot, TDEActionCollection parent); /** Show/Hide the statusbar. @short Show/Hide the statusbar. */ - public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent); + public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEToggleAction showStatusbar(TQObject recvr, String slot, TDEActionCollection parent); /** Switch to/from full screen mode @short Switch to/from full screen mode */ - public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window, String name); - public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window); + public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window, String name); + public static native TDEToggleFullScreenAction fullScreen(TQObject recvr, String slot, TDEActionCollection parent, TQWidget window); /** Display the save options dialog. @short Display the save options dialog. */ - public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction saveOptions(TQObject recvr, String slot, TDEActionCollection parent); /** Display the configure key bindings dialog. Note that you might be able to use the pre-built KXMLGUIFactory's fuction: KStdAction.keyBindings(guiFactory(), SLOT("configureShortcuts()"), actionCollection()); @short Display the configure key bindings dialog. */ - public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction keyBindings(TQObject recvr, String slot, TDEActionCollection parent); /** Display the preferences/options dialog. @short Display the preferences/options dialog. */ - public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction preferences(TQObject recvr, String slot, TDEActionCollection parent); /** The Customize Toolbar dialog. @short The Customize Toolbar dialog. */ - public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction configureToolbars(TQObject recvr, String slot, TDEActionCollection parent); /** The Configure Notifications dialog. @short The Configure Notifications dialog. */ - public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction configureNotifications(TQObject recvr, String slot, TDEActionCollection parent); /** Display the help. @short Display the help. */ - public static native KAction help(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction help(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction help(TQObject recvr, String slot, TDEActionCollection parent); /** Display the help contents. @short Display the help contents. */ - public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction helpContents(TQObject recvr, String slot, TDEActionCollection parent); /** Trigger the What's This cursor. @short Trigger the What's This cursor. */ - public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction whatsThis(TQObject recvr, String slot, TDEActionCollection parent); /** Display "Tip of the Day" @short Display "Tip of the Day" */ - public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction tipOfDay(TQObject recvr, String slot, TDEActionCollection parent); /** Open up the Report Bug dialog. @short Open up the Report Bug dialog. */ - public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction reportBug(TQObject recvr, String slot, TDEActionCollection parent); /** Display the application's About box. @short Display the application's About box. */ - public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction aboutApp(TQObject recvr, String slot, TDEActionCollection parent); /** Display the About KDE dialog. @short Display the About KDE dialog. */ - public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent); + public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent, String name); + public static native TDEAction aboutKDE(TQObject recvr, String slot, TDEActionCollection parent); } diff --git a/kdejava/koala/org/kde/koala/KSystemTray.java b/kdejava/koala/org/kde/koala/KSystemTray.java index 772feec6..d0a818c3 100644 --- a/kdejava/koala/org/kde/koala/KSystemTray.java +++ b/kdejava/koala/org/kde/koala/KSystemTray.java @@ -80,13 +80,13 @@ public class KSystemTray extends TQLabel { to it. @short Access to the context menu. */ - public native KPopupMenu contextMenu(); + public native TDEPopupMenu contextMenu(); /** Easy access to the actions in the context menu Currently includes KStdAction.Quit and minimizeRestore @short Easy access to the actions in the context menu Currently includes KStdAction.Quit and minimizeRestore */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** Changes the tray's icon. @short Changes the tray's icon. @@ -144,7 +144,7 @@ public class KSystemTray extends TQLabel { context menu becomes visible. @short Makes it easy to adjust some menu items right before the context menu becomes visible. */ - protected native void contextMenuAboutToShow(KPopupMenu menu); + protected native void contextMenuAboutToShow(TDEPopupMenu menu); /** Reimplemented for internal reasons. @short Reimplemented for internal reasons. diff --git a/kdejava/koala/org/kde/koala/KURLBarListBox.java b/kdejava/koala/org/kde/koala/KURLBarListBox.java index 5f4e11da..87305d15 100644 --- a/kdejava/koala/org/kde/koala/KURLBarListBox.java +++ b/kdejava/koala/org/kde/koala/KURLBarListBox.java @@ -13,7 +13,7 @@ import org.kde.qt.TQDragObject; /** - This is the listbox used in KURLBar. It is a subclass of KListBox to support + This is the listbox used in KURLBar. It is a subclass of TDEListBox to support drag & drop and to set up the row / column mode. The widget has just one row or one column, depending on orientation(). See {@link KURLBarListBoxSignals} for signals emitted by KURLBarListBox @@ -22,7 +22,7 @@ import org.kde.qt.TQDragObject; @short This is the listbox used in KURLBar. */ -public class KURLBarListBox extends KListBox { +public class KURLBarListBox extends TDEListBox { protected KURLBarListBox(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); diff --git a/kdejava/koala/org/kde/koala/KURLRequester.java b/kdejava/koala/org/kde/koala/KURLRequester.java index d245702f..56d55d75 100644 --- a/kdejava/koala/org/kde/koala/KURLRequester.java +++ b/kdejava/koala/org/kde/koala/KURLRequester.java @@ -211,7 +211,7 @@ public class KURLRequester extends TQHBox { protected native void init(); /** Called when the button is pressed to open the filedialog. - Also called when KStdAccel.Open (default is Ctrl-O) is pressed. + Also called when TDEStdAccel.Open (default is Ctrl-O) is pressed. @short Called when the button is pressed to open the filedialog. */ protected native void slotOpenDialog(); diff --git a/kdejava/koala/org/kde/koala/KValueSelector.java b/kdejava/koala/org/kde/koala/KValueSelector.java index a34005e3..086c36b0 100644 --- a/kdejava/koala/org/kde/koala/KValueSelector.java +++ b/kdejava/koala/org/kde/koala/KValueSelector.java @@ -19,7 +19,7 @@ import org.kde.qt.TQResizeEvent; @see KColorDialog */ -public class KValueSelector extends KSelector { +public class KValueSelector extends TDESelector { protected KValueSelector(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); @@ -74,10 +74,10 @@ public class KValueSelector extends KSelector { protected native void drawPalette(TQPixmap pixmap); protected native void resizeEvent(TQResizeEvent arg1); /** - Reimplemented from KSelector. The drawing is + Reimplemented from TDESelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. - @short Reimplemented from KSelector. + @short Reimplemented from TDESelector. */ protected native void drawContents(TQPainter painter); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KWidgetAction.java b/kdejava/koala/org/kde/koala/KWidgetAction.java index 79d95331..ab7704dc 100644 --- a/kdejava/koala/org/kde/koala/KWidgetAction.java +++ b/kdejava/koala/org/kde/koala/KWidgetAction.java @@ -14,7 +14,7 @@ import org.kde.qt.TQWidget; @short An action that automatically embeds a widget into a toolbar. */ -public class KWidgetAction extends KAction { +public class KWidgetAction extends TDEAction { protected KWidgetAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); @@ -24,11 +24,11 @@ public class KWidgetAction extends KAction { a toolbar. @short Create an action that will embed widget into a toolbar when plugged. */ - public KWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public KWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); newKWidgetAction(widget,text,cut,receiver,slot,parent,name); } - private native void newKWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newKWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); /** Returns the widget associated with this action. @short Returns the widget associated with this action. @@ -37,7 +37,7 @@ public class KWidgetAction extends KAction { public native void setAutoSized(boolean arg1); /** Plug the action. The widget passed to the constructor - will be reparented to w, which must inherit KToolBar. + will be reparented to w, which must inherit TDEToolBar. @short Plug the action. */ public native int plug(TQWidget widget, int index); diff --git a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java b/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java index c73a0ab7..7096cc87 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java @@ -10,10 +10,10 @@ import org.kde.qt.TQDomElement; /** Abstract interface for a "GUI builder", used by the GUIFactory - This interface is implemented by KMainWindow for the case where - the toplevel widget is a KMainWindow. Other implementations may appear + This interface is implemented by TDEMainWindow for the case where + the toplevel widget is a TDEMainWindow. Other implementations may appear in the future (dialogs for instance) - @short Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by KMainWindow for the case where the toplevel widget is a KMainWindow. + @short Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMainWindow for the case where the toplevel widget is a TDEMainWindow. */ public class KXMLGUIBuilder implements QtSupport, KXMLGUIBuilderInterface { diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClient.java b/kdejava/koala/org/kde/koala/KXMLGUIClient.java index 0b916257..346f9081 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIClient.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIClient.java @@ -52,25 +52,25 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { to get the action object. @short Retrieves an action of the client by name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. @short Retrieves an action for a given TQDomElement. */ - public native KAction action(TQDomElement element); + public native TDEAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with KAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a KMainWindow. + TDEActionCollection.setWidget( TQWidget ) with this object, or + you will encounter subtle bugs with TDEAction keyboard shortcuts. + This is not necessary if your KXMLGUIClient is a TDEMainWindow. @short Retrieves the entire action collection for the GUI client. - @see KActionCollection#setWidget( + @see TDEActionCollection#setWidget( @see #org#kde#qt#TQWidget* */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** @return The instance ( TDEInstance ) for this GUI client. @@ -193,7 +193,7 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - TQPtrList<KAction> file_actions; + TQPtrList<TDEAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -209,7 +209,7 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java b/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java index 37982a59..a1fae857 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java @@ -7,9 +7,9 @@ import org.kde.qt.TQWidget; import org.kde.qt.TQDomElement; public interface KXMLGUIClientInterface { - KAction action(String name); - KAction action(TQDomElement element); - KActionCollection actionCollection(); + TDEAction action(String name); + TDEAction action(TQDomElement element); + TDEActionCollection actionCollection(); TDEInstanceInterface instance(); TQDomDocument domDocument(); String xmlFile(); diff --git a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java b/kdejava/koala/org/kde/koala/KXMLGUIFactory.java index 80da94a4..09b260d7 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIFactory.java @@ -20,7 +20,7 @@ import org.kde.qt.TQObject; actions. KXMLGUIFactory takes care of building (with the help of a KXMLGUIBuilder) and merging the GUI from an unlimited number of clients. Each client provides XML through a TQDomDocument and actions through a - KActionCollection . The XML document contains the rules for how to merge the + TDEActionCollection . The XML document contains the rules for how to merge the GUI. KXMLGUIFactory processes the DOM tree provided by a client and plugs in the client's actions, according to the XML and the merging rules of previously inserted clients. Container widgets @@ -74,7 +74,7 @@ public class KXMLGUIFactory extends TQObject { @short Removes the GUI described by the client, by unplugging all provided actions and removing all owned containers (and storing container state information in the given client) */ public native void removeClient(KXMLGUIClientInterface client); - // void plugActionList(KXMLGUIClient* arg1,const TQString& arg2,const TQPtrList<KAction>& arg3); >>>> NOT CONVERTED + // void plugActionList(KXMLGUIClient* arg1,const TQString& arg2,const TQPtrList<TDEAction>& arg3); >>>> NOT CONVERTED public native void unplugActionList(KXMLGUIClientInterface client, String name); /** Returns a list of all clients currently added to this factory diff --git a/kdejava/koala/org/kde/koala/MainWindow.java b/kdejava/koala/org/kde/koala/MainWindow.java index a7f7d886..3d344f48 100644 --- a/kdejava/koala/org/kde/koala/MainWindow.java +++ b/kdejava/koala/org/kde/koala/MainWindow.java @@ -13,18 +13,18 @@ import org.kde.qt.TQWidget; Inherit your main window from this class and don't forget to call setXMLFile() in the inherited constructor. It implements all internal interfaces in the case of a - KMainWindow as host: the builder and servant interface (for menu + TDEMainWindow as host: the builder and servant interface (for menu merging). @short A KPart-aware main window, whose user interface is described in XML. */ -public class MainWindow extends KMainWindow implements PartBaseInterface { +public class MainWindow extends TDEMainWindow implements PartBaseInterface { protected MainWindow(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Constructor, same signature as KMainWindow. - @short Constructor, same signature as KMainWindow. + Constructor, same signature as TDEMainWindow. + @short Constructor, same signature as TDEMainWindow. */ public MainWindow(TQWidget parent, String name, int f) { super((Class) null); @@ -61,8 +61,8 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { } private native void newMainWindow(); /** - Constructor with creation flags, see KMainWindow. - @short Constructor with creation flags, see KMainWindow. + Constructor with creation flags, see TDEMainWindow. + @short Constructor with creation flags, see TDEMainWindow. */ public MainWindow(int cflags, TQWidget parent, String name, int f) { super((Class) null); diff --git a/kdejava/koala/org/kde/koala/Makefile.am b/kdejava/koala/org/kde/koala/Makefile.am index 6e355cdc..16f2282c 100644 --- a/kdejava/koala/org/kde/koala/Makefile.am +++ b/kdejava/koala/org/kde/koala/Makefile.am @@ -1,7 +1,7 @@ ####### tdevelop will overwrite this part!!! (begin)########## -EXTRA_DIST = TDEGlobal.java KMdiToolViewAccessor.java BrowserExtension.java DCOPClient.java DCOPObject.java DCOPObjectInterface.java DCOPObjectProxy.java KAboutApplication.java KAboutContainer.java TDEAboutData.java KAboutDialog.java KAboutKDE.java KAboutPerson.java KAboutWidget.java KAccel.java KAction.java KActionCollection.java KActionMenu.java KActionSeparator.java KAnimWidget.java TDEApplication.java KAudioPlayer.java KAuthIcon.java KBugReport.java KButtonBox.java TDECModule.java KCharSelect.java KCharSelectTable.java KCharsets.java TDECmdLineArgs.java KColorButton.java KColorCombo.java KColorDrag.java KCombiView.java KComboBox.java KCompletion.java KCompletionBase.java KCompletionBaseInterface.java TDEConfig.java TDEConfigBackEnd.java TDEConfigBase.java TDEConfigGroupSaver.java TDEConfigINIBackEnd.java KContextMenuManager.java KCursor.java KDCOPActionProxy.java KDCOPPropertyProxy.java KDEDesktopMimeType.java KDatePicker.java KDateTable.java KDateValidator.java KDesktopFile.java KDialog.java KDialogBase.java KDirOperator.java KDirWatch.java KDockWidgetAbstractHeader.java KDockWidgetAbstractHeaderDrag.java KDockWidgetHeader.java KDockWidgetHeaderDrag.java KDoubleNumInput.java KDualColorButton.java KEdFind.java KEdGotoLine.java KEdReplace.java KEditToolbar.java KEditToolbarWidget.java KEntry.java KEntryKey.java KExecMimeType.java KFile.java KFileDetailView.java KFileDialog.java KFileFilter.java KFileIconView.java KFileIconViewItem.java KFileItem.java KFileListViewItem.java KFilePreview.java KFileView.java KFileViewInterface.java KFileViewSignaler.java KFolderType.java KFontAction.java KFontChooser.java KFontDialog.java KFontSizeAction.java TDEGlobalAccel.java TDEGlobalSettings.java KGradientSelector.java TDEHTMLPart.java TDEHTMLSettings.java TDEHTMLView.java KHelpMenu.java KHistoryCombo.java KIPC.java KIconButton.java KIconCanvas.java KIconDialog.java KIconEffect.java KIconLoader.java KIconView.java KImageEffect.java KImageIO.java TDEInstance.java TDEInstanceInterface.java KIntNumInput.java KIntSpinBox.java KIntValidator.java KJanusWidget.java KKeyChooser.java KLed.java KLibFactory.java KLibLoader.java KLineEdit.java KListBox.java KListView.java TDELocale.java KMainWindow.java KMenuBar.java KMessageBox.java KMimeType.java KNotifyClient.java KNumInput.java KOpenWithDlg.java KPalette.java KPanelApplet.java KPanelMenu.java KPasswordDialog.java KPasswordEdit.java KPixmap.java KPixmapEffect.java KPixmapIO.java KPixmapProvider.java KPopupFrame.java KPopupMenu.java KPopupTitle.java KProcIO.java TDEProcess.java TDEProcessController.java TDEProcessRunner.java KProgress.java KProtocolInfo.java KProtocolManager.java KRFCDate.java KRadioAction.java KRandomSequence.java KRecentDocument.java KRestrictedLine.java KRootPermsIcon.java KRootPixmap.java KRootProp.java KRuler.java KRun.java KSSL.java KSSLCertificate.java KSSLCertificateHome.java KSSLConnectionInfo.java KSSLInfoDlg.java KSSLPeerInfo.java KSSLSettings.java KSSLX509Map.java KSaveFile.java KSelectAction.java KSelector.java KSeparator.java KService.java KServiceGroup.java KServiceOffer.java KServiceType.java KServiceTypeProfile.java KSessionManaged.java TDEShared.java KShellCompletion.java KShred.java KSimpleConfig.java KSpell.java KSpellConfig.java KSpellDlg.java TDEStandardDirs.java KStaticDeleterBase.java KStatusBar.java KStatusBarLabel.java KStdAccel.java KStdAction.java KStringHandler.java KSycoca.java KSycocaEntry.java KSystemTray.java KTabCtl.java KTempFile.java KTextBrowser.java KToggleAction.java KToolBar.java KToolBarButton.java KToolBarRadioGroup.java KToolBarSeparator.java TDETrader.java KURIFilter.java KURIFilterData.java KURIFilterPlugin.java KURL.java KURLComboBox.java KURLCompletion.java KURLDrag.java KURLLabel.java KURLRequester.java KURLRequesterDlg.java KUniqueApplication.java KWizard.java KWritePermsIcon.java KXMLGUIBuilder.java KXMLGUIBuilderInterface.java KXMLGUIClient.java KXMLGUIClientInterface.java KXMLGUIFactory.java KXYSelector.java Part.java PartBaseInterface.java ReadOnlyPart.java NetAccess.java kdejava.java Event.java GUIActivateEvent.java MouseEvent.java OpenURLEvent.java PartActivateEvent.java PartSelectEvent.java ReadWritePart.java DocumentFragment.java DocumentStyle.java DocumentType.java HTMLDocument.java NamedNodeMap.java CSSStyleSheet.java StyleSheet.java CSSException.java CSSPrimitiveValue.java CSSStyleDeclaration.java CSSValue.java Counter.java RGBColor.java Rect.java Element.java HTMLAnchorElement.java HTMLAppletElement.java HTMLAreaElement.java HTMLBRElement.java HTMLBaseElement.java HTMLBaseFontElement.java HTMLBlockquoteElement.java HTMLBodyElement.java HTMLButtonElement.java HTMLCollection.java HTMLDListElement.java HTMLDirectoryElement.java HTMLDivElement.java HTMLElement.java HTMLFieldSetElement.java HTMLFontElement.java HTMLFormElement.java HTMLFrameElement.java HTMLFrameSetElement.java HTMLHRElement.java HTMLHeadElement.java HTMLHeadingElement.java HTMLHtmlElement.java HTMLIFrameElement.java HTMLImageElement.java HTMLInputElement.java HTMLIsIndexElement.java HTMLLIElement.java HTMLLabelElement.java HTMLLegendElement.java HTMLLinkElement.java HTMLMapElement.java HTMLMenuElement.java HTMLMetaElement.java HTMLModElement.java HTMLOListElement.java HTMLObjectElement.java HTMLOptGroupElement.java HTMLOptionElement.java HTMLParagraphElement.java HTMLParamElement.java HTMLPreElement.java HTMLQuoteElement.java HTMLScriptElement.java HTMLSelectElement.java HTMLStyleElement.java HTMLTableCaptionElement.java HTMLTableCellElement.java HTMLTableColElement.java HTMLTableElement.java HTMLTableRowElement.java HTMLTableSectionElement.java HTMLTextAreaElement.java HTMLTitleElement.java HTMLUListElement.java Attr.java DockMainWindow.java MainWindow.java CDATASection.java Comment.java EntityReference.java NodeFilter.java NodeIterator.java ProcessingInstruction.java Range.java Text.java TreeWalker.java CharacterData.java CopyJob.java DeleteJob.java FileCopyJob.java Job.java KDirNotify.java KDirNotifyInterface.java KDirSize.java ListJob.java MimetypeJob.java SimpleJob.java StatJob.java TransferJob.java Connection.java Slave.java KAboutContributor.java KAboutTranslator.java KCodecs.java KCommand.java KCommandHistory.java KCompletionBox.java KDialogQueue.java KEditListBox.java KFilterBase.java KFilterDev.java KFontCombo.java KMacroCommand.java KPanelExtension.java KPixmapSplitter.java KPreviewWidgetBase.java KPushButton.java KScanDialog.java KSqueezedTextLabel.java KToolBarPopupAction.java KTipDatabase.java KTipDialog.java BrowserExtensionSignals.java CopyJobSignals.java DCOPClientSignals.java DeleteJobSignals.java JobSignals.java KAboutContainerSignals.java KAboutContributorSignals.java KAboutDialogSignals.java KAboutWidgetSignals.java KAccelSignals.java KActionCollectionSignals.java KActionSignals.java KAnimWidgetSignals.java TDEApplicationSignals.java TDECModuleSignals.java KCharSelectSignals.java KCharSelectTableSignals.java KColorButtonSignals.java KColorComboSignals.java KComboBoxSignals.java KCommandHistorySignals.java KCompletionBoxSignals.java KCompletionSignals.java KDatePickerSignals.java KDateTableSignals.java KDialogBaseSignals.java KDialogSignals.java KDirListerSignals.java KDirOperatorSignals.java KDirWatchSignals.java KDoubleNumInputSignals.java KDualColorButtonSignals.java KEdFindSignals.java KEdReplaceSignals.java KEditListBoxSignals.java KEditSignals.java KEditToolbarSignals.java KEditToolbarWidgetSignals.java KFileDetailViewSignals.java KFileDialogSignals.java KFileIconViewSignals.java KFilePreviewSignals.java KFontChooserSignals.java KFontDialogSignals.java KFontSizeActionSignals.java TDEHTMLPartSignals.java TDEHTMLViewSignals.java KHelpMenuSignals.java KHistoryComboSignals.java KIconButtonSignals.java KIconCanvasSignals.java KIconDialogSignals.java KIconViewSignals.java KIntNumInputSignals.java KJanusWidgetSignals.java KKeyChooserSignals.java KLineEditSignals.java KListBoxSignals.java KListViewSignals.java KPanelAppletSignals.java KPanelExtensionSignals.java KPopupMenuSignals.java KProcIOSignals.java TDEProcessSignals.java KProgressSignals.java KRecentFilesActionSignals.java KRestrictedLineSignals.java KRootPixmapSignals.java KRunSignals.java KScanDialogSignals.java KSelectActionSignals.java KSelectorSignals.java KShredSignals.java KSpellConfigSignals.java KSpellDlgSignals.java KSpellSignals.java KStatusBarLabelSignals.java KStatusBarSignals.java KSycocaSignals.java KSystemTraySignals.java KTabCtlSignals.java KTextBrowserSignals.java KToggleActionSignals.java KToolBarButtonSignals.java KToolBarSignals.java KURLComboBoxSignals.java KURLLabelSignals.java KURLRequesterSignals.java KXMLGUIFactorySignals.java KXYSelectorSignals.java ListJobSignals.java SlaveSignals.java StatJobSignals.java TransferJobSignals.java KListViewItem.java KTar.java KArchive.java KArchiveDirectory.java KSSLPKCS12.java KArchiveEntry.java KArchiveFile.java KFileMetaInfo.java KFileMetaInfoItem.java KGuiItem.java KIconViewItem.java KStdGuiItem.java KDataTool.java KDataToolAction.java KDataToolInfo.java KDateWidget.java KDirSelectDialog.java KEMailSettings.java KFileFilterCombo.java KFileTreeBranch.java KFileTreeView.java KFileTreeViewItem.java KFileTreeViewToolTip.java KMultipleDrag.java KWordWrap.java KDataToolActionSignals.java KDateWidgetSignals.java KFileFilterComboSignals.java KFileTreeBranchSignals.java KFileTreeViewSignals.java KShortcut.java KKey.java KKeyDialog.java KIO.java Scheduler.java SchedulerSignals.java StatusbarProgress.java ProgressBase.java ProgressBaseSignals.java KKeySequence.java KDockMainWindow.java KDockManager.java KDockManagerSignals.java KDockTabGroup.java KDockWidget.java KDockWidgetSignals.java KURLPixmapProvider.java KAccelAction.java KColor.java KColorCells.java KColorCellsSignals.java KColorDialog.java KColorDialogSignals.java KColorPatch.java KColorPatchSignals.java KHSSelector.java KPaletteTable.java KPaletteTableSignals.java KValueSelector.java DCOPAnswer.java KDE.java KSSLCertDlgRet.java KListAction.java KRecentFilesAction.java KArrowButton.java KDateTimeWidget.java KDateTimeWidgetSignals.java KFindDialog.java KFind.java KFindSignals.java KMultiTabBarButton.java KMultiTabBarButtonSignals.java KMultiTabBarTab.java KPrintAction.java KPrintActionSignals.java KProgressDialog.java KReplaceDialog.java KReplace.java KReplaceSignals.java KURLBarSignals.java KMultiTabBar.java KCatalogue.java KDoubleValidator.java KKeyButton.java KMdiChildArea.java KMdiChildFrmCaption.java KMdiChildFrmDragBeginEvent.java KMdiChildFrmDragEndEvent.java KMdiChildFrm.java KMdiChildFrmMoveEvent.java KMdiChildFrmResizeBeginEvent.java KMdiChildFrmResizeEndEvent.java KMdiChildView.java KMdi.java KMdiMainFrm.java KMdiTaskBarButton.java KMdiTaskBar.java KMdiViewCloseEvent.java KMdiWin32IconButton.java KPasteTextAction.java KStringListValidator.java KTabBar.java KTabWidget.java KTextEdit.java KTimeWidget.java KToggleToolBarAction.java KURLComboRequester.java KMdiChildAreaSignals.java KMdiChildViewSignals.java KMdiMainFrmSignals.java KMdiTaskBarButtonSignals.java KMdiWin32IconButtonSignals.java KTabBarSignals.java KTabWidgetSignals.java KTimeWidgetSignals.java DefaultProgress.java SlaveBase.java KEdit.java KFloatValidator.java KMimeMagic.java KMimeMagicResult.java BrowserInterface.java CSSRule.java CSSRuleList.java CustomNodeFilter.java DavJob.java Document.java DomShared.java EventListener.java Invocation.java KCalendarSystem.java KDirLister.java KFileMetaInfoGroup.java KMimeSourceFactory.java TDESharedConfig.java KShellProcess.java KShortcutList.java KSSLCertBox.java KSSLCertChain.java KSSLSession.java KSSLX509V3.java KToggleFullScreenAction.java KURLBarItem.java KURLBar.java KURLBarListBox.java Marchaller.java MetaInfoJob.java Node.java Observer.java PreviewJob.java SlaveInterface.java UIEvent.java KAsyncIO.java KAsyncIOSignals.java TDEBufferedIO.java TDEBufferedIOSignals.java AuthInfo.java RenameDlg.java AbstractView.java KInputDialog.java KAuthIconSignals.java KFileViewSignalerSignals.java KKeyButtonSignals.java KLibFactorySignals.java KURLBarListBoxSignals.java MetaInfoJobSignals.java PartSignals.java PreviewJobSignals.java ReadOnlyPartSignals.java ReadWritePartSignals.java SlaveInterfaceSignals.java CSSCharsetRule.java CSSFontFaceRule.java CSSImportRule.java CSSMediaRule.java CSSPageRule.java CSSStyleRule.java CSSUnknownRule.java CSSValueList.java DOMException.java DOMImplementation.java Entity.java EventException.java Factory.java HistoryProvider.java HistoryProviderSignals.java HTMLFormCollection.java KAccelShortcutList.java KActionShortcutList.java KActiveLabel.java KAr.java KCalendarSystemFactory.java TDECModuleInfo.java TDECModuleLoader.java KCMultiDialog.java KCMultiDialogSignals.java TDEConfigGroup.java KCPUInfo.java KCustomMenuEditor.java KDCOPServiceStarter.java KDiskFreeSp.java KDiskFreeSpSignals.java KDockArea.java KDockAreaSignals.java KFilePlugin.java KFileShare.java KFontRequester.java KFontRequesterSignals.java KIDNA.java KKeyNative.java KMD5.java KMimeTypeResolverBase.java KMimeTypeResolverHelper.java KMimeTypeValidator.java KMountPoint.java KOCRDialog.java KOCRDialogSignals.java KPanelAppMenu.java KPanelAppMenuSignals.java KPassivePopup.java KPassivePopupSignals.java KPluginSelector.java KPluginSelectorSignals.java KRegExpEditorInterface.java KServiceSeparator.java KShell.java KSimpleFileFilter.java KSMIMECrypto.java KSpellingHighlighter.java KSSLCertDlg.java KSSLCertificateCache.java KSSLCertificateFactory.java KSSLKeyGen.java KSSLPKCS7.java KSSLSigners.java KSyntaxHighlighter.java KTempDir.java KURLBarItemDialog.java KWidgetAction.java KWindowInfo.java KXMLGUI.java KZipFileEntry.java KZip.java LinkStyle.java LiveConnectExtension.java LiveConnectExtensionSignals.java MultiGetJob.java MultiGetJobSignals.java MutationEvent.java Notation.java PartBase.java PasswordDialog.java Plugin.java RangeException.java SessionData.java SkipDlg.java SkipDlgSignals.java SlaveConfigSignals.java StatusBarExtension.java TextEvent.java KNamedCommand.java PartManager.java PartManagerSignals.java URLArgs.java WindowArgs.java BrowserHostExtension.java BrowserRun.java KAccelActions.java KDockMainWindowSignals.java StoredTransferJob.java +EXTRA_DIST = TDEGlobal.java KMdiToolViewAccessor.java BrowserExtension.java DCOPClient.java DCOPObject.java DCOPObjectInterface.java DCOPObjectProxy.java KAboutApplication.java KAboutContainer.java TDEAboutData.java KAboutDialog.java KAboutKDE.java KAboutPerson.java KAboutWidget.java TDEAccel.java TDEAction.java TDEActionCollection.java TDEActionMenu.java TDEActionSeparator.java KAnimWidget.java TDEApplication.java KAudioPlayer.java KAuthIcon.java KBugReport.java KButtonBox.java TDECModule.java KCharSelect.java KCharSelectTable.java KCharsets.java TDECmdLineArgs.java KColorButton.java KColorCombo.java KColorDrag.java KCombiView.java KComboBox.java KCompletion.java KCompletionBase.java KCompletionBaseInterface.java TDEConfig.java TDEConfigBackEnd.java TDEConfigBase.java TDEConfigGroupSaver.java TDEConfigINIBackEnd.java KContextMenuManager.java KCursor.java KDCOPActionProxy.java KDCOPPropertyProxy.java KDEDesktopMimeType.java KDatePicker.java KDateTable.java KDateValidator.java KDesktopFile.java KDialog.java KDialogBase.java KDirOperator.java KDirWatch.java KDockWidgetAbstractHeader.java KDockWidgetAbstractHeaderDrag.java KDockWidgetHeader.java KDockWidgetHeaderDrag.java KDoubleNumInput.java KDualColorButton.java KEdFind.java KEdGotoLine.java KEdReplace.java KEditToolbar.java KEditToolbarWidget.java KEntry.java KEntryKey.java KExecMimeType.java KFile.java KFileDetailView.java KFileDialog.java KFileFilter.java KFileIconView.java KFileIconViewItem.java KFileItem.java KFileListViewItem.java KFilePreview.java KFileView.java KFileViewInterface.java KFileViewSignaler.java KFolderType.java TDEFontAction.java TDEFontChooser.java TDEFontDialog.java TDEFontSizeAction.java TDEGlobalAccel.java TDEGlobalSettings.java KGradientSelector.java TDEHTMLPart.java TDEHTMLSettings.java TDEHTMLView.java KHelpMenu.java KHistoryCombo.java KIPC.java KIconButton.java KIconCanvas.java KIconDialog.java KIconEffect.java KIconLoader.java KIconView.java KImageEffect.java KImageIO.java TDEInstance.java TDEInstanceInterface.java KIntNumInput.java KIntSpinBox.java KIntValidator.java KJanusWidget.java KKeyChooser.java KLed.java KLibFactory.java KLibLoader.java KLineEdit.java TDEListBox.java TDEListView.java TDELocale.java TDEMainWindow.java KMenuBar.java KMessageBox.java KMimeType.java KNotifyClient.java KNumInput.java KOpenWithDlg.java KPalette.java KPanelApplet.java KPanelMenu.java KPasswordDialog.java KPasswordEdit.java KPixmap.java KPixmapEffect.java KPixmapIO.java KPixmapProvider.java TDEPopupFrame.java TDEPopupMenu.java TDEPopupTitle.java KProcIO.java TDEProcess.java TDEProcessController.java TDEProcessRunner.java KProgress.java KProtocolInfo.java KProtocolManager.java KRFCDate.java TDERadioAction.java KRandomSequence.java TDERecentDocument.java KRestrictedLine.java KRootPermsIcon.java KRootPixmap.java KRootProp.java KRuler.java KRun.java KSSL.java KSSLCertificate.java KSSLCertificateHome.java KSSLConnectionInfo.java KSSLInfoDlg.java KSSLPeerInfo.java KSSLSettings.java KSSLX509Map.java KSaveFile.java TDESelectAction.java TDESelector.java KSeparator.java KService.java KServiceGroup.java KServiceOffer.java KServiceType.java KServiceTypeProfile.java KSessionManaged.java TDEShared.java KShellCompletion.java KShred.java KSimpleConfig.java KSpell.java KSpellConfig.java KSpellDlg.java TDEStandardDirs.java KStaticDeleterBase.java KStatusBar.java KStatusBarLabel.java TDEStdAccel.java KStdAction.java KStringHandler.java KSycoca.java KSycocaEntry.java KSystemTray.java KTabCtl.java KTempFile.java KTextBrowser.java TDEToggleAction.java TDEToolBar.java TDEToolBarButton.java TDEToolBarRadioGroup.java TDEToolBarSeparator.java TDETrader.java KURIFilter.java KURIFilterData.java KURIFilterPlugin.java KURL.java KURLComboBox.java KURLCompletion.java KURLDrag.java KURLLabel.java KURLRequester.java KURLRequesterDlg.java KUniqueApplication.java KWizard.java KWritePermsIcon.java KXMLGUIBuilder.java KXMLGUIBuilderInterface.java KXMLGUIClient.java KXMLGUIClientInterface.java KXMLGUIFactory.java KXYSelector.java Part.java PartBaseInterface.java ReadOnlyPart.java NetAccess.java kdejava.java Event.java GUIActivateEvent.java MouseEvent.java OpenURLEvent.java PartActivateEvent.java PartSelectEvent.java ReadWritePart.java DocumentFragment.java DocumentStyle.java DocumentType.java HTMLDocument.java NamedNodeMap.java CSSStyleSheet.java StyleSheet.java CSSException.java CSSPrimitiveValue.java CSSStyleDeclaration.java CSSValue.java Counter.java RGBColor.java Rect.java Element.java HTMLAnchorElement.java HTMLAppletElement.java HTMLAreaElement.java HTMLBRElement.java HTMLBaseElement.java HTMLBaseFontElement.java HTMLBlockquoteElement.java HTMLBodyElement.java HTMLButtonElement.java HTMLCollection.java HTMLDListElement.java HTMLDirectoryElement.java HTMLDivElement.java HTMLElement.java HTMLFieldSetElement.java HTMLFontElement.java HTMLFormElement.java HTMLFrameElement.java HTMLFrameSetElement.java HTMLHRElement.java HTMLHeadElement.java HTMLHeadingElement.java HTMLHtmlElement.java HTMLIFrameElement.java HTMLImageElement.java HTMLInputElement.java HTMLIsIndexElement.java HTMLLIElement.java HTMLLabelElement.java HTMLLegendElement.java HTMLLinkElement.java HTMLMapElement.java HTMLMenuElement.java HTMLMetaElement.java HTMLModElement.java HTMLOListElement.java HTMLObjectElement.java HTMLOptGroupElement.java HTMLOptionElement.java HTMLParagraphElement.java HTMLParamElement.java HTMLPreElement.java HTMLQuoteElement.java HTMLScriptElement.java HTMLSelectElement.java HTMLStyleElement.java HTMLTableCaptionElement.java HTMLTableCellElement.java HTMLTableColElement.java HTMLTableElement.java HTMLTableRowElement.java HTMLTableSectionElement.java HTMLTextAreaElement.java HTMLTitleElement.java HTMLUListElement.java Attr.java DockMainWindow.java MainWindow.java CDATASection.java Comment.java EntityReference.java NodeFilter.java NodeIterator.java ProcessingInstruction.java Range.java Text.java TreeWalker.java CharacterData.java CopyJob.java DeleteJob.java FileCopyJob.java Job.java KDirNotify.java KDirNotifyInterface.java KDirSize.java ListJob.java MimetypeJob.java SimpleJob.java StatJob.java TransferJob.java Connection.java Slave.java KAboutContributor.java KAboutTranslator.java KCodecs.java KCommand.java KCommandHistory.java KCompletionBox.java KDialogQueue.java KEditListBox.java KFilterBase.java KFilterDev.java TDEFontCombo.java KMacroCommand.java KPanelExtension.java KPixmapSplitter.java KPreviewWidgetBase.java KPushButton.java KScanDialog.java KSqueezedTextLabel.java TDEToolBarPopupAction.java KTipDatabase.java KTipDialog.java BrowserExtensionSignals.java CopyJobSignals.java DCOPClientSignals.java DeleteJobSignals.java JobSignals.java KAboutContainerSignals.java KAboutContributorSignals.java KAboutDialogSignals.java KAboutWidgetSignals.java TDEAccelSignals.java TDEActionCollectionSignals.java TDEActionSignals.java KAnimWidgetSignals.java TDEApplicationSignals.java TDECModuleSignals.java KCharSelectSignals.java KCharSelectTableSignals.java KColorButtonSignals.java KColorComboSignals.java KComboBoxSignals.java KCommandHistorySignals.java KCompletionBoxSignals.java KCompletionSignals.java KDatePickerSignals.java KDateTableSignals.java KDialogBaseSignals.java KDialogSignals.java KDirListerSignals.java KDirOperatorSignals.java KDirWatchSignals.java KDoubleNumInputSignals.java KDualColorButtonSignals.java KEdFindSignals.java KEdReplaceSignals.java KEditListBoxSignals.java KEditSignals.java KEditToolbarSignals.java KEditToolbarWidgetSignals.java KFileDetailViewSignals.java KFileDialogSignals.java KFileIconViewSignals.java KFilePreviewSignals.java TDEFontChooserSignals.java TDEFontDialogSignals.java TDEFontSizeActionSignals.java TDEHTMLPartSignals.java TDEHTMLViewSignals.java KHelpMenuSignals.java KHistoryComboSignals.java KIconButtonSignals.java KIconCanvasSignals.java KIconDialogSignals.java KIconViewSignals.java KIntNumInputSignals.java KJanusWidgetSignals.java KKeyChooserSignals.java KLineEditSignals.java TDEListBoxSignals.java TDEListViewSignals.java KPanelAppletSignals.java KPanelExtensionSignals.java TDEPopupMenuSignals.java KProcIOSignals.java TDEProcessSignals.java KProgressSignals.java TDERecentFilesActionSignals.java KRestrictedLineSignals.java KRootPixmapSignals.java KRunSignals.java KScanDialogSignals.java TDESelectActionSignals.java TDESelectorSignals.java KShredSignals.java KSpellConfigSignals.java KSpellDlgSignals.java KSpellSignals.java KStatusBarLabelSignals.java KStatusBarSignals.java KSycocaSignals.java KSystemTraySignals.java KTabCtlSignals.java KTextBrowserSignals.java TDEToggleActionSignals.java TDEToolBarButtonSignals.java TDEToolBarSignals.java KURLComboBoxSignals.java KURLLabelSignals.java KURLRequesterSignals.java KXMLGUIFactorySignals.java KXYSelectorSignals.java ListJobSignals.java SlaveSignals.java StatJobSignals.java TransferJobSignals.java TDEListViewItem.java KTar.java KArchive.java KArchiveDirectory.java KSSLPKCS12.java KArchiveEntry.java KArchiveFile.java KFileMetaInfo.java KFileMetaInfoItem.java KGuiItem.java KIconViewItem.java KStdGuiItem.java KDataTool.java KDataToolAction.java KDataToolInfo.java KDateWidget.java KDirSelectDialog.java KEMailSettings.java KFileFilterCombo.java KFileTreeBranch.java KFileTreeView.java KFileTreeViewItem.java KFileTreeViewToolTip.java KMultipleDrag.java KWordWrap.java KDataToolActionSignals.java KDateWidgetSignals.java KFileFilterComboSignals.java KFileTreeBranchSignals.java KFileTreeViewSignals.java TDEShortcut.java KKey.java KKeyDialog.java KIO.java Scheduler.java SchedulerSignals.java StatusbarProgress.java ProgressBase.java ProgressBaseSignals.java KKeySequence.java KDockMainWindow.java KDockManager.java KDockManagerSignals.java KDockTabGroup.java KDockWidget.java KDockWidgetSignals.java KURLPixmapProvider.java TDEAccelAction.java KColor.java KColorCells.java KColorCellsSignals.java KColorDialog.java KColorDialogSignals.java KColorPatch.java KColorPatchSignals.java KHSSelector.java KPaletteTable.java KPaletteTableSignals.java KValueSelector.java DCOPAnswer.java KDE.java KSSLCertDlgRet.java TDEListAction.java TDERecentFilesAction.java KArrowButton.java KDateTimeWidget.java KDateTimeWidgetSignals.java KFindDialog.java KFind.java KFindSignals.java KMultiTabBarButton.java KMultiTabBarButtonSignals.java KMultiTabBarTab.java KPrintAction.java KPrintActionSignals.java KProgressDialog.java KReplaceDialog.java KReplace.java KReplaceSignals.java KURLBarSignals.java KMultiTabBar.java KCatalogue.java KDoubleValidator.java KKeyButton.java KMdiChildArea.java KMdiChildFrmCaption.java KMdiChildFrmDragBeginEvent.java KMdiChildFrmDragEndEvent.java KMdiChildFrm.java KMdiChildFrmMoveEvent.java KMdiChildFrmResizeBeginEvent.java KMdiChildFrmResizeEndEvent.java KMdiChildView.java KMdi.java KMdiMainFrm.java KMdiTaskBarButton.java KMdiTaskBar.java KMdiViewCloseEvent.java KMdiWin32IconButton.java TDEPasteTextAction.java KStringListValidator.java KTabBar.java KTabWidget.java KTextEdit.java KTimeWidget.java TDEToggleToolBarAction.java KURLComboRequester.java KMdiChildAreaSignals.java KMdiChildViewSignals.java KMdiMainFrmSignals.java KMdiTaskBarButtonSignals.java KMdiWin32IconButtonSignals.java KTabBarSignals.java KTabWidgetSignals.java KTimeWidgetSignals.java DefaultProgress.java SlaveBase.java KEdit.java KFloatValidator.java KMimeMagic.java KMimeMagicResult.java BrowserInterface.java CSSRule.java CSSRuleList.java CustomNodeFilter.java DavJob.java Document.java DomShared.java EventListener.java Invocation.java KCalendarSystem.java KDirLister.java KFileMetaInfoGroup.java KMimeSourceFactory.java TDESharedConfig.java KShellProcess.java TDEShortcutList.java KSSLCertBox.java KSSLCertChain.java KSSLSession.java KSSLX509V3.java TDEToggleFullScreenAction.java KURLBarItem.java KURLBar.java KURLBarListBox.java Marchaller.java MetaInfoJob.java Node.java Observer.java PreviewJob.java SlaveInterface.java UIEvent.java KAsyncIO.java KAsyncIOSignals.java TDEBufferedIO.java TDEBufferedIOSignals.java AuthInfo.java RenameDlg.java AbstractView.java KInputDialog.java KAuthIconSignals.java KFileViewSignalerSignals.java KKeyButtonSignals.java KLibFactorySignals.java KURLBarListBoxSignals.java MetaInfoJobSignals.java PartSignals.java PreviewJobSignals.java ReadOnlyPartSignals.java ReadWritePartSignals.java SlaveInterfaceSignals.java CSSCharsetRule.java CSSFontFaceRule.java CSSImportRule.java CSSMediaRule.java CSSPageRule.java CSSStyleRule.java CSSUnknownRule.java CSSValueList.java DOMException.java DOMImplementation.java Entity.java EventException.java Factory.java HistoryProvider.java HistoryProviderSignals.java HTMLFormCollection.java TDEAccelShortcutList.java TDEActionShortcutList.java KActiveLabel.java KAr.java KCalendarSystemFactory.java TDECModuleInfo.java TDECModuleLoader.java KCMultiDialog.java KCMultiDialogSignals.java TDEConfigGroup.java KCPUInfo.java KCustomMenuEditor.java KDCOPServiceStarter.java KDiskFreeSp.java KDiskFreeSpSignals.java KDockArea.java KDockAreaSignals.java KFilePlugin.java KFileShare.java TDEFontRequester.java TDEFontRequesterSignals.java KIDNA.java KKeyNative.java KMD5.java KMimeTypeResolverBase.java KMimeTypeResolverHelper.java KMimeTypeValidator.java KMountPoint.java KOCRDialog.java KOCRDialogSignals.java KPanelAppMenu.java KPanelAppMenuSignals.java KPassivePopup.java KPassivePopupSignals.java KPluginSelector.java KPluginSelectorSignals.java KRegExpEditorInterface.java KServiceSeparator.java KShell.java KSimpleFileFilter.java KSMIMECrypto.java KSpellingHighlighter.java KSSLCertDlg.java KSSLCertificateCache.java KSSLCertificateFactory.java KSSLKeyGen.java KSSLPKCS7.java KSSLSigners.java KSyntaxHighlighter.java KTempDir.java KURLBarItemDialog.java KWidgetAction.java KWindowInfo.java KXMLGUI.java KZipFileEntry.java KZip.java LinkStyle.java LiveConnectExtension.java LiveConnectExtensionSignals.java MultiGetJob.java MultiGetJobSignals.java MutationEvent.java Notation.java PartBase.java PasswordDialog.java Plugin.java RangeException.java SessionData.java SkipDlg.java SkipDlgSignals.java SlaveConfigSignals.java StatusBarExtension.java TextEvent.java KNamedCommand.java PartManager.java PartManagerSignals.java URLArgs.java WindowArgs.java BrowserHostExtension.java BrowserRun.java TDEAccelActions.java KDockMainWindowSignals.java StoredTransferJob.java ####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/koala/Plugin.java b/kdejava/koala/org/kde/koala/Plugin.java index d6cd3ae8..af4fb0af 100644 --- a/kdejava/koala/org/kde/koala/Plugin.java +++ b/kdejava/koala/org/kde/koala/Plugin.java @@ -145,25 +145,25 @@ public class Plugin extends TQObject implements KXMLGUIClientInterface { to get the action object. @short Retrieves an action of the client by name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. @short Retrieves an action for a given TQDomElement. */ - public native KAction action(TQDomElement element); + public native TDEAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with KAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a KMainWindow. + TDEActionCollection.setWidget( TQWidget ) with this object, or + you will encounter subtle bugs with TDEAction keyboard shortcuts. + This is not necessary if your KXMLGUIClient is a TDEMainWindow. @short Retrieves the entire action collection for the GUI client. - @see KActionCollection#setWidget( + @see TDEActionCollection#setWidget( @see #org#kde#qt#TQWidget* */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** @return The instance ( TDEInstance ) for this GUI client. @@ -271,7 +271,7 @@ public class Plugin extends TQObject implements KXMLGUIClientInterface { This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - TQPtrList<KAction> file_actions; + TQPtrList<TDEAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -287,7 +287,7 @@ public class Plugin extends TQObject implements KXMLGUIClientInterface { menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . diff --git a/kdejava/koala/org/kde/koala/ReadWritePart.java b/kdejava/koala/org/kde/koala/ReadWritePart.java index 4aa0037e..652e58aa 100644 --- a/kdejava/koala/org/kde/koala/ReadWritePart.java +++ b/kdejava/koala/org/kde/koala/ReadWritePart.java @@ -52,7 +52,7 @@ public class ReadWritePart extends ReadOnlyPart { public native boolean isModified(); /** If the document has been modified, ask the user to save changes. - This method is meant to be called from KMainWindow.queryClose(). + This method is meant to be called from TDEMainWindow.queryClose(). It will also be called from closeURL(). @return true if closeURL() can be called without the user losing important data, false if the user chooses to cancel. @@ -74,7 +74,7 @@ public class ReadWritePart extends ReadOnlyPart { /** Call this method instead of the above if you need control if the save prompt is shown. For example, if you call queryClose() - from KMainWindow.queryClose(), you would not want to prompt + from TDEMainWindow.queryClose(), you would not want to prompt again when closing the url. Equivalent to promptToSave ? closeURL() : ReadOnlyPart.closeURL() @short Call this method instead of the above if you need control if the save prompt is shown. diff --git a/kdejava/koala/org/kde/koala/Scheduler.java b/kdejava/koala/org/kde/koala/Scheduler.java index 58ea3a47..68094974 100644 --- a/kdejava/koala/org/kde/koala/Scheduler.java +++ b/kdejava/koala/org/kde/koala/Scheduler.java @@ -128,10 +128,10 @@ public class Scheduler extends TQObject implements DCOPObjectInterface { */ public static native void removeSlaveOnHold(); /** - Send the slave that was put on hold back to KLauncher. This + Send the slave that was put on hold back to TDELauncher. This allows another process to take over the slave and resume the job that was started. - @short Send the slave that was put on hold back to KLauncher. + @short Send the slave that was put on hold back to TDELauncher. */ public static native void publishSlaveOnHold(); /** @@ -150,14 +150,14 @@ public class Scheduler extends TQObject implements DCOPObjectInterface { public static native boolean assignJobToSlave(Slave slave, SimpleJob job); public static native boolean disconnectSlave(Slave slave); /** - Send the slave that was put on hold back to KLauncher. This + Send the slave that was put on hold back to TDELauncher. This allows another process to take over the slave and resume the job the that was started. Register the mainwindow <code>wid</code> with the KIO subsystem Do not call this, it is called automatically from void KIO.Job.setWindow(TQWidget). @param wid the window to register - @short Send the slave that was put on hold back to KLauncher. + @short Send the slave that was put on hold back to TDELauncher. */ public static native void registerWindow(TQWidget wid); /** @@ -175,10 +175,10 @@ public class Scheduler extends TQObject implements DCOPObjectInterface { public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); /** - When true, the next job will check whether KLauncher has a slave + When true, the next job will check whether TDELauncher has a slave on hold that is suitable for the job. - @param b true when KLauncher has a job on hold - @short When true, the next job will check whether KLauncher has a slave on hold that is suitable for the job. + @param b true when TDELauncher has a job on hold + @short When true, the next job will check whether TDELauncher has a slave on hold that is suitable for the job. */ public static native void checkSlaveOnHold(boolean b); // void setupSlave(TDEIO::Slave* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,bool arg5,const TDEIO::MetaData* arg6); >>>> NOT CONVERTED diff --git a/kdejava/koala/org/kde/koala/StatusBarExtension.java b/kdejava/koala/org/kde/koala/StatusBarExtension.java index 9b1369f5..720b1f16 100644 --- a/kdejava/koala/org/kde/koala/StatusBarExtension.java +++ b/kdejava/koala/org/kde/koala/StatusBarExtension.java @@ -58,7 +58,7 @@ public class StatusBarExtension extends TQObject { */ public native void removeStatusBarItem(TQWidget widget); /** - @return the statusbar of the KMainWindow in which this part is currently embedded. + @return the statusbar of the TDEMainWindow in which this part is currently embedded. WARNING: this could return 0L @short @@ -67,7 +67,7 @@ public class StatusBarExtension extends TQObject { /** This allows the hosting application to set a particular KStatusBar for this part. If it doesn't do this, the statusbar used will be - the one of the KMainWindow in which the part is embedded. + the one of the TDEMainWindow in which the part is embedded. Konqueror uses this to assign a view-statusbar to the part. The part should never call this method! @short This allows the hosting application to set a particular KStatusBar for this part. diff --git a/kdejava/koala/org/kde/koala/KAccel.java b/kdejava/koala/org/kde/koala/TDEAccel.java index 8d438e1d..1c1caef5 100644 --- a/kdejava/koala/org/kde/koala/KAccel.java +++ b/kdejava/koala/org/kde/koala/TDEAccel.java @@ -14,15 +14,15 @@ import org.kde.qt.TQAccel; Allow a user to configure shortcuts through application configuration files or through the KKeyChooser GUI. - A KAccel contains a list of accelerator actions. + A TDEAccel contains a list of accelerator actions. For example, CTRL+Key_P could be a shortcut for printing a document. The key codes are listed in qnamespace.h. "Print" could be the action name for printing. The action name identifies the shortcut in configuration files and the KKeyChooser GUI. - A KAccel object handles key events sent to its parent widget and to all - children of this parent widget. The most recently created KAccel object - has precedence over any KAccel objects created before it. - When a shortcut pressed, KAccel calls the slot to which it has been + A TDEAccel object handles key events sent to its parent widget and to all + children of this parent widget. The most recently created TDEAccel object + has precedence over any TDEAccel objects created before it. + When a shortcut pressed, TDEAccel calls the slot to which it has been connected. If you want to set global accelerators, independent of the window which has the focus, use TDEGlobalAccel. Reconfiguration of a given shortcut can be prevented by specifying @@ -38,81 +38,81 @@ import org.kde.qt.TQAccel; The translated first argument for insertItem() is used only in the configuration dialog. <pre> - KAccel pAccel = new KAccel( this ); + TDEAccel pAccel = new TDEAccel( this ); // Insert an action "Scroll Up" which is associated with the "Up" key: pAccel.insert( "Scroll Up", i18n("Scroll up"), i18n("Scroll up the current document by one line."), Qt.Key_Up, this, SLOT("slotScrollUp()") ); // Insert an standard acclerator action. - pAccel.insert( KStdAccel.Print, this, SLOT("slotPrint()") ); + pAccel.insert( TDEStdAccel.Print, this, SLOT("slotPrint()") ); // Update the shortcuts by read any user-defined settings from the // application's config file. pAccel.readSettings(); </pre> - See {@link KAccelSignals} for signals emitted by KAccel + See {@link TDEAccelSignals} for signals emitted by TDEAccel @short Configurable shortcut support for widgets. @see TDEGlobalAccel - @see KAccelShortcutList + @see TDEAccelShortcutList @see KKeyChooser @see KKeyDialog */ -public class KAccel extends TQAccel { - protected KAccel(Class dummy){super((Class) null);} +public class TDEAccel extends TQAccel { + protected TDEAccel(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Creates a new KAccel that watches <code>pParent</code>, which is also + Creates a new TDEAccel that watches <code>pParent</code>, which is also the TQObject's parent. @param pParent the parent and widget to watch for key strokes @param psName the name of the TQObject - @short Creates a new KAccel that watches <code>pParent</code>, which is also the TQObject's parent. + @short Creates a new TDEAccel that watches <code>pParent</code>, which is also the TQObject's parent. */ - public KAccel(TQWidget pParent, String psName) { + public TDEAccel(TQWidget pParent, String psName) { super((Class) null); - newKAccel(pParent,psName); + newTDEAccel(pParent,psName); } - private native void newKAccel(TQWidget pParent, String psName); - public KAccel(TQWidget pParent) { + private native void newTDEAccel(TQWidget pParent, String psName); + public TDEAccel(TQWidget pParent) { super((Class) null); - newKAccel(pParent); + newTDEAccel(pParent); } - private native void newKAccel(TQWidget pParent); + private native void newTDEAccel(TQWidget pParent); /** - Creates a new KAccel that watches <code>watch.</code> + Creates a new TDEAccel that watches <code>watch.</code> @param watch the widget to watch for key strokes @param parent the parent of the TQObject @param psName the name of the TQObject - @short Creates a new KAccel that watches <code>watch.</code> + @short Creates a new TDEAccel that watches <code>watch.</code> */ - public KAccel(TQWidget watch, TQObject parent, String psName) { + public TDEAccel(TQWidget watch, TQObject parent, String psName) { super((Class) null); - newKAccel(watch,parent,psName); + newTDEAccel(watch,parent,psName); } - private native void newKAccel(TQWidget watch, TQObject parent, String psName); - public KAccel(TQWidget watch, TQObject parent) { + private native void newTDEAccel(TQWidget watch, TQObject parent, String psName); + public TDEAccel(TQWidget watch, TQObject parent) { super((Class) null); - newKAccel(watch,parent); + newTDEAccel(watch,parent); } - private native void newKAccel(TQWidget watch, TQObject parent); + private native void newTDEAccel(TQWidget watch, TQObject parent); /** - Returns the KAccel's <code>KAccelActions</code>, a list of <code>KAccelAction.</code> - @return the KAccelActions of the KAccel + Returns the TDEAccel's <code>TDEAccelActions</code>, a list of <code>TDEAccelAction.</code> + @return the TDEAccelActions of the TDEAccel @short */ - public native KAccelActions actions(); + public native TDEAccelActions actions(); /** - Checks whether the KAccel is active. + Checks whether the TDEAccel is active. @return true if the TQAccel is enabled - @short Checks whether the KAccel is active. + @short Checks whether the TDEAccel is active. */ public native boolean isEnabled(); /** - Enables or disables the KAccel. + Enables or disables the TDEAccel. @param bEnabled true to enable, false to disable - @short Enables or disables the KAccel. + @short Enables or disables the TDEAccel. */ public native void setEnabled(boolean bEnabled); /** @@ -147,17 +147,17 @@ public class KAccel extends TQAccel { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short Create an accelerator action. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. @short Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); /** This is an overloaded function provided for convenience. The advantage of this is when you want to use the same text for the name @@ -174,19 +174,19 @@ public class KAccel extends TQAccel { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short This is an overloaded function provided for convenience. */ - public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); + public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native TDEAccelAction insert(String psAction, TDEShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all set according to one of the standard accelerators. @short Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all set according to one of the standard accelerators. - @see KStdAccel# + @see TDEStdAccel# */ - public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot); + public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native TDEAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -214,7 +214,7 @@ public class KAccel extends TQAccel { @short Return the shortcut associated with the action named by <code>sAction.</code> */ - public native KShortcut shortcut(String sAction); + public native TDEShortcut shortcut(String sAction); /** Set the shortcut to be associated with the action named by <code>sAction.</code> @param sAction the name of the action @@ -223,7 +223,7 @@ public class KAccel extends TQAccel { @short Set the shortcut to be associated with the action named by <code>sAction.</code> */ - public native boolean setShortcut(String sAction, KShortcut shortcut); + public native boolean setShortcut(String sAction, TDEShortcut shortcut); /** Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. diff --git a/kdejava/koala/org/kde/koala/KAccelActions.java b/kdejava/koala/org/kde/koala/TDEAccelAction.java index 8c2f4022..067ea7c0 100644 --- a/kdejava/koala/org/kde/koala/KAccelActions.java +++ b/kdejava/koala/org/kde/koala/TDEAccelAction.java @@ -1,5 +1,5 @@ /*************************************************************************** - KAccelActions.java - description + TDEAccelAction.java - description ------------------- begin : Wed Jan 30 16:02:13 2002 copyright : (C) 2000-2001 Lost Highway Ltd. @@ -22,9 +22,9 @@ import org.kde.qt.*; import java.util.*; import java.lang.Error; -public class KAccelActions implements QtSupport { +public class TDEAccelAction implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KAccelActions(Class dummy){} + protected TDEAccelAction(Class dummy){} } diff --git a/kdejava/koala/org/kde/koala/KAccelAction.java b/kdejava/koala/org/kde/koala/TDEAccelActions.java index ab4b54e9..da53ea78 100644 --- a/kdejava/koala/org/kde/koala/KAccelAction.java +++ b/kdejava/koala/org/kde/koala/TDEAccelActions.java @@ -1,5 +1,5 @@ /*************************************************************************** - KAccelAction.java - description + TDEAccelActions.java - description ------------------- begin : Wed Jan 30 16:02:13 2002 copyright : (C) 2000-2001 Lost Highway Ltd. @@ -22,9 +22,9 @@ import org.kde.qt.*; import java.util.*; import java.lang.Error; -public class KAccelAction implements QtSupport { +public class TDEAccelActions implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KAccelAction(Class dummy){} + protected TDEAccelActions(Class dummy){} } diff --git a/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java b/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java new file mode 100644 index 00000000..71db9b9c --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEAccelShortcutList.java @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QtSupport; +import org.kde.qt.TQVariant; + +/** + + TDEShortcutList implementation to access TDEAccel and + TDEGlobalAccel lists. + @short TDEShortcutList implementation to access TDEAccel and TDEGlobalAccel lists. + +*/ +public class TDEAccelShortcutList extends TDEShortcutList { + protected TDEAccelShortcutList(Class dummy){super((Class) null);} + /** + Creates a new TDEShortcutList that accesses the given TDEAccel. + @param accel the accelerators to access + @short Creates a new TDEShortcutList that accesses the given TDEAccel. + */ + public TDEAccelShortcutList(TDEAccel accel) { + super((Class) null); + newTDEAccelShortcutList(accel); + } + private native void newTDEAccelShortcutList(TDEAccel accel); + /** + Creates a new TDEShortcutList that accesses the given + TDEGlobalAccel. + @param accel the accelerators to access + @short Creates a new TDEShortcutList that accesses the given TDEGlobalAccel. + */ + public TDEAccelShortcutList(TDEGlobalAccel accel) { + super((Class) null); + newTDEAccelShortcutList(accel); + } + private native void newTDEAccelShortcutList(TDEGlobalAccel accel); + /** + Creates a new TDEShortcutList that accesses the given + TDEAccelActions collection. + @param actions the actions to access + @param bGlobal true to save the actions in the global + configuration file + @short + */ + public TDEAccelShortcutList(TDEAccelActions actions, boolean bGlobal) { + super((Class) null); + newTDEAccelShortcutList(actions,bGlobal); + } + private native void newTDEAccelShortcutList(TDEAccelActions actions, boolean bGlobal); + public native int count(); + public native String name(int index); + public native String label(int index); + public native String whatsThis(int index); + public native TDEShortcut shortcut(int index); + public native TDEShortcut shortcutDefault(int index); + public native boolean isConfigurable(int index); + public native boolean setShortcut(int index, TDEShortcut shortcut); + public native boolean isGlobal(int index); + /** \internal @short \internal + */ + public native TQVariant getOther(int arg1, int index); + /** \internal @short \internal + */ + public native boolean setOther(int arg1, int index, TQVariant arg3); + public native boolean save(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KAccelSignals.java b/kdejava/koala/org/kde/koala/TDEAccelSignals.java index 355be490..ae541f31 100644 --- a/kdejava/koala/org/kde/koala/KAccelSignals.java +++ b/kdejava/koala/org/kde/koala/TDEAccelSignals.java @@ -6,7 +6,7 @@ import org.kde.qt.QtSupport; import org.kde.qt.TQObject; import org.kde.qt.TQWidget; -public interface KAccelSignals { +public interface TDEAccelSignals { /** Emitted when one of the key codes has changed. @short Emitted when one of the key codes has changed. diff --git a/kdejava/koala/org/kde/koala/KAction.java b/kdejava/koala/org/kde/koala/TDEAction.java index 76e99f77..caec1930 100644 --- a/kdejava/koala/org/kde/koala/KAction.java +++ b/kdejava/koala/org/kde/koala/TDEAction.java @@ -12,21 +12,21 @@ import org.kde.qt.TQObject; /** - The KAction class (and derived and super classes) provides a way to + The TDEAction class (and derived and super classes) provides a way to easily encapsulate a "real" user-selected action or event in your program. For instance, a user may want to <code>paste</code> the contents of the clipboard or <code>scroll</code> <code>down</code> a document or <code>quit</code> the application. These are all <code>actions</code> -- events that the - user causes to happen. The KAction class allows the developer to + user causes to happen. The TDEAction class allows the developer to deal with these actions in an easy and intuitive manner. - Specifically, the KAction class encapsulated the various attributes + Specifically, the TDEAction class encapsulated the various attributes to an event/action. For instance, an action might have an icon that goes along with it (a clipboard for a "paste" action or scissors for a "cut" action). The action might have some text to describe the action. It will certainly have a method or function that actually <code>executes</code> the action! All these attributes - are contained within the KAction object. + are contained within the TDEAction object. The advantage of dealing with Actions is that you can manipulate the Action without regard to the GUI representation of it. For instance, in the "normal" way of dealing with actions like "cut", @@ -37,7 +37,7 @@ import org.kde.qt.TQObject; individually. Setting the menu item and toolbar item up uses very similar code - but has to be done twice! With the Action concept, you simply "plug" the Action into whatever - GUI element you want. The KAction class will then take care of + GUI element you want. The TDEAction class will then take care of correctly defining the menu item (with icons, accelerators, text, etc) or toolbar button.. or whatever. From then on, if you manipulate the Action at all, the effect will propogate through all @@ -48,7 +48,7 @@ import org.kde.qt.TQObject; This is the biggest advantage to the Action concept -- there is a one-to-one relationship between the "real" action and <code>all</code> GUI representations of it. - KAction emits the activated() signal if the user activated the + TDEAction emits the activated() signal if the user activated the corresponding GUI element ( menu item, toolbar button, etc. ) If you are in the situation of wanting to map the activated() signal of multiple action objects to one slot, with a special @@ -59,7 +59,7 @@ import org.kde.qt.TQObject; connect( desktopNumberMapper, SIGNAL("mapped( int )"), this, SLOT("moveWindowToDesktop( int )") ); for ( uint i = 0; i < numberOfDesktops; ++i ) { - KAction desktopAction = new KAction( i18n( "Move Window to Desktop %i" ).arg( i ), ... ); + TDEAction desktopAction = new TDEAction( i18n( "Move Window to Desktop %i" ).arg( i ), ... ); connect( desktopAction, SIGNAL("activated()"), desktopNumberMapper, SLOT("map()") ); desktopNumberMapper.setMapping( desktopAction, i ); } @@ -73,7 +73,7 @@ import org.kde.qt.TQObject; </li> <li> - Create the action using KAction (or derived or super class). + Create the action using TDEAction (or derived or super class). </li> <li> @@ -83,8 +83,8 @@ import org.kde.qt.TQObject; <li><b>Detailed Example:</b></li> Here is an example of enabling a "New [document]" action <pre> - KAction newAct = new KAction(i18n("&New"), "filenew", - KStdAccel.shortcut(KStdAccel.New), + TDEAction newAct = new TDEAction(i18n("&New"), "filenew", + TDEStdAccel.shortcut(TDEStdAccel.New), this, SLOT("fileNew()"), actionCollection(), "new"); </pre> @@ -111,24 +111,24 @@ import org.kde.qt.TQObject; </pre> and both the menuitem in File and the toolbar button will instantly be disabled. - Do not delete a KAction object without unplugging it from all its + Do not delete a TDEAction object without unplugging it from all its containers. The simplest way to do that is to use the unplugAll() as in the following example: <pre> newAct.unplugAll(); delete newAct; </pre> - Normally you will not need to do this as KActionCollection manages + Normally you will not need to do this as TDEActionCollection manages everything for you. Note: if you are using a "standard" action like "new", "paste", "quit", or any other action described in the KDE UI Standards, please use the methods in the KStdAction class rather than defining your own. <li><b>Usage Within the XML Framework:</b></li> - If you are using KAction within the context of the XML menu and + If you are using TDEAction within the context of the XML menu and toolbar building framework, then there are a few tiny changes. The first is that you must insert your new action into an action - collection. The action collection (a KActionCollection) is, + collection. The action collection (a TDEActionCollection) is, logically enough, a central collection of all of the actions defined in your application. The XML UI framework code in KXMLGUI classes needs access to this collection in order to build up the @@ -137,13 +137,13 @@ import org.kde.qt.TQObject; Also, if you use the XML builder framework, then you do not ever have to plug your actions into containers manually. The framework does that for you. - See {@link KActionSignals} for signals emitted by KAction + See {@link TDEActionSignals} for signals emitted by TDEAction @short Class to encapsulate user-driven action or event. @see KStdAction */ -public class KAction extends TQObject { - protected KAction(Class dummy){super((Class) null);} +public class TDEAction extends TQObject { + protected TDEAction(Class dummy){super((Class) null);} /** @short */ @@ -161,7 +161,7 @@ public class KAction extends TQObject { the user. If you do not want or have a keyboard shortcut, set the <code>cut</code> param to 0. - This is the most common KAction used when you do not have a + This is the most common TDEAction used when you do not have a corresponding icon (note that it won't appear in the current version of the "Edit ToolBar" dialog, because an action needs an icon to be plugged in a toolbar...). @@ -173,18 +173,18 @@ public class KAction extends TQObject { @param name An internal name for this action. @short Constructs an action with text, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public TDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); - newKAction(text,cut,receiver,slot,parent,name); + newTDEAction(text,cut,receiver,slot,parent,name); } - private native void newKAction(String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newTDEAction(String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); /** Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. If you do not want or have a keyboard shortcut, set the <code>cut</code> param to 0. - This is the other common KAction used. Use it when you + This is the other common TDEAction used. Use it when you <code>do</code> have a corresponding icon. @param text The text that will be displayed. @param pix The icon to display. @@ -195,11 +195,11 @@ public class KAction extends TQObject { @param name An internal name for this action. @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public TDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); - newKAction(text,pix,cut,receiver,slot,parent,name); + newTDEAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newTDEAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); /** Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by @@ -207,7 +207,7 @@ public class KAction extends TQObject { is plugged in. If you do not want or have a keyboard shortcut, set the <code>cut</code> param to 0. - This is the other common KAction used. Use it when you + This is the other common TDEAction used. Use it when you <code>do</code> have a corresponding icon. @param text The text that will be displayed. @param pix The icon to display. @@ -218,11 +218,11 @@ public class KAction extends TQObject { @param name An internal name for this action. @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public TDEAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); - newKAction(text,pix,cut,receiver,slot,parent,name); + newTDEAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newTDEAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); /** The same as the above constructor, but with a KGuiItem providing the text and icon. @@ -234,18 +234,18 @@ public class KAction extends TQObject { @param name An internal name for this action. @short The same as the above constructor, but with a KGuiItem providing the text and icon. */ - public KAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public TDEAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); - newKAction(item,cut,receiver,slot,parent,name); + newTDEAction(item,cut,receiver,slot,parent,name); } - private native void newKAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newTDEAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); /** "Plug" or insert this action into a given widget. This will typically be a menu or a toolbar. From this point on, you will never need to directly manipulate the item in the menu or toolbar. You do all enabling/disabling/manipulation directly - with your KAction object. + with your TDEAction object. @param widget The GUI element to display this action @param index The position into which the action is plugged. If this is negative, the action is inserted at the end. @@ -304,12 +304,12 @@ public class KAction extends TQObject { Get the keyboard shortcut associated with this action. @short Get the keyboard shortcut associated with this action. */ - public native KShortcut shortcut(); + public native TDEShortcut shortcut(); /** Get the default shortcut for this action. @short Get the default shortcut for this action. */ - public native KShortcut shortcutDefault(); + public native TDEShortcut shortcutDefault(); public native String shortcutText(); public native void setShortcutText(String arg1); /** @@ -348,7 +348,7 @@ public class KAction extends TQObject { */ public native TQIconSet iconSet(); public native String icon(); - public native KActionCollection parentCollection(); + public native TDEActionCollection parentCollection(); public native void unplugAll(); public native String statusText(); /** @@ -361,7 +361,7 @@ public class KAction extends TQObject { Sets the keyboard shortcut associated with this action. @short Sets the keyboard shortcut associated with this action. */ - public native boolean setShortcut(KShortcut arg1); + public native boolean setShortcut(TDEShortcut arg1); public native void setGroup(String arg1); /** Sets the What's this text for the action. This text will be displayed when @@ -379,9 +379,9 @@ public class KAction extends TQObject { For the tooltip to show up on the statusbar you will need to connect a couple of the actionclass signals to the toolbar. The easiest way of doing this is in your main window class, when you create - a statusbar. See the KActionCollection class for more details. + a statusbar. See the TDEActionCollection class for more details. @short Sets the tooltip text for the action. - @see KActionCollection + @see TDEActionCollection */ public native void setToolTip(String arg1); /** @@ -418,7 +418,7 @@ public class KAction extends TQObject { @short */ public static native int getToolButtonID(); - protected native KToolBar toolBar(int index); + protected native TDEToolBar toolBar(int index); protected native TQPopupMenu popupMenu(int index); protected native void removeContainer(int index); protected native int findContainer(TQWidget widget); diff --git a/kdejava/koala/org/kde/koala/KActionCollection.java b/kdejava/koala/org/kde/koala/TDEActionCollection.java index a3e53bbb..6cf636bd 100644 --- a/kdejava/koala/org/kde/koala/KActionCollection.java +++ b/kdejava/koala/org/kde/koala/TDEActionCollection.java @@ -11,11 +11,11 @@ import org.kde.qt.TQObject; /** - A managed set of KAction objects. - If you set the tooltips on KActions and want the tooltip to show in statusbar + A managed set of TDEAction objects. + If you set the tooltips on TDEActions and want the tooltip to show in statusbar (recommended) then you will need to connect a couple of the actionclass signals to the toolbar. - The easiest way of doing this is in your KMainWindow subclass, where you create + The easiest way of doing this is in your TDEMainWindow subclass, where you create a statusbar, do: <pre> actionCollection().setHighlightingEnabled(true); @@ -24,55 +24,55 @@ import org.kde.qt.TQObject; connect(actionCollection(), SIGNAL("clearStatusText()"), statusBar(), SLOT("clear()") ); </pre> - See {@link KActionCollectionSignals} for signals emitted by KActionCollection - @short A managed set of KAction objects. + See {@link TDEActionCollectionSignals} for signals emitted by TDEActionCollection + @short A managed set of TDEAction objects. */ -public class KActionCollection extends TQObject { - protected KActionCollection(Class dummy){super((Class) null);} +public class TDEActionCollection extends TQObject { + protected TDEActionCollection(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); - public KActionCollection(TQWidget parent, String name, TDEInstanceInterface instance) { + public TDEActionCollection(TQWidget parent, String name, TDEInstanceInterface instance) { super((Class) null); - newKActionCollection(parent,name,instance); + newTDEActionCollection(parent,name,instance); } - private native void newKActionCollection(TQWidget parent, String name, TDEInstanceInterface instance); - public KActionCollection(TQWidget parent, String name) { + private native void newTDEActionCollection(TQWidget parent, String name, TDEInstanceInterface instance); + public TDEActionCollection(TQWidget parent, String name) { super((Class) null); - newKActionCollection(parent,name); + newTDEActionCollection(parent,name); } - private native void newKActionCollection(TQWidget parent, String name); - public KActionCollection(TQWidget parent) { + private native void newTDEActionCollection(TQWidget parent, String name); + public TDEActionCollection(TQWidget parent) { super((Class) null); - newKActionCollection(parent); + newTDEActionCollection(parent); } - private native void newKActionCollection(TQWidget parent); + private native void newTDEActionCollection(TQWidget parent); /** Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code> If you don't require shortcuts, you can pass a null to the <code>watch</code> parameter. @short Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code> */ - public KActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance) { + public TDEActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance) { super((Class) null); - newKActionCollection(watch,parent,name,instance); + newTDEActionCollection(watch,parent,name,instance); } - private native void newKActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance); - public KActionCollection(TQWidget watch, TQObject parent, String name) { + private native void newTDEActionCollection(TQWidget watch, TQObject parent, String name, TDEInstanceInterface instance); + public TDEActionCollection(TQWidget watch, TQObject parent, String name) { super((Class) null); - newKActionCollection(watch,parent,name); + newTDEActionCollection(watch,parent,name); } - private native void newKActionCollection(TQWidget watch, TQObject parent, String name); - public KActionCollection(TQWidget watch, TQObject parent) { + private native void newTDEActionCollection(TQWidget watch, TQObject parent, String name); + public TDEActionCollection(TQWidget watch, TQObject parent) { super((Class) null); - newKActionCollection(watch,parent); + newTDEActionCollection(watch,parent); } - private native void newKActionCollection(TQWidget watch, TQObject parent); - public KActionCollection(KActionCollection copy) { + private native void newTDEActionCollection(TQWidget watch, TQObject parent); + public TDEActionCollection(TDEActionCollection copy) { super((Class) null); - newKActionCollection(copy); + newTDEActionCollection(copy); } - private native void newKActionCollection(KActionCollection copy); + private native void newTDEActionCollection(TDEActionCollection copy); /** This sets the widget to which the keyboard shortcuts should be attached. You only need to call this if a null pointer was passed in the constructor. @@ -101,38 +101,38 @@ public class KActionCollection extends TQObject { to a view's action collection. @short Doc/View model. */ - public native boolean addDocCollection(KActionCollection pDoc); - /** Returns the KAccel object of the most recently set widget. @short Returns the KAccel object of the most recently set widget. + public native boolean addDocCollection(TDEActionCollection pDoc); + /** Returns the TDEAccel object of the most recently set widget. @short Returns the TDEAccel object of the most recently set widget. */ - public native KAccel kaccel(); - /** @internal, for KAction.kaccelCurrent() @short @internal, for KAction.kaccelCurrent() + public native TDEAccel kaccel(); + /** @internal, for TDEAction.kaccelCurrent() @short @internal, for TDEAction.kaccelCurrent() */ - public native KAccel builderKAccel(); + public native TDEAccel builderTDEAccel(); /** Returns the number of actions in the collection @short Returns the number of actions in the collection */ public native int count(); public native boolean isEmpty(); /** - Return the KAction at position "index" in the action collection. - @short Return the KAction at position "index" in the action collection. + Return the TDEAction at position "index" in the action collection. + @short Return the TDEAction at position "index" in the action collection. @see #count */ - public native KAction action(int index); + public native TDEAction action(int index); /** - Find an action (optionally, of a given subclass of KAction) in the action collection. - @param name Name of the KAction. - @param classname Name of the KAction subclass. - @return A pointer to the first KAction in the collection which matches the parameters or + Find an action (optionally, of a given subclass of TDEAction) in the action collection. + @param name Name of the TDEAction. + @param classname Name of the TDEAction subclass. + @return A pointer to the first TDEAction in the collection which matches the parameters or null if nothing matches. - @short Find an action (optionally, of a given subclass of KAction) in the action collection. + @short Find an action (optionally, of a given subclass of TDEAction) in the action collection. */ - public native KAction action(String name, String classname); - public native KAction action(String name); - /** Returns a list of all the groups of all the KActions in this action collection. - @short Returns a list of all the groups of all the KActions in this action collection. - @see KAction#group - @see KAction#setGroup + public native TDEAction action(String name, String classname); + public native TDEAction action(String name); + /** Returns a list of all the groups of all the TDEActions in this action collection. + @short Returns a list of all the groups of all the TDEActions in this action collection. + @see TDEAction#group + @see TDEAction#setGroup */ public native ArrayList groups(); /** @@ -140,10 +140,10 @@ public class KActionCollection extends TQObject { @param group The name of the group. @short Returns the list of actions in a particular group managed by this action collection. */ - // KActionPtrList actions(const TQString& arg1); >>>> NOT CONVERTED + // TDEActionPtrList actions(const TQString& arg1); >>>> NOT CONVERTED /** Returns the list of actions managed by this action collection. @short Returns the list of actions managed by this action collection. */ - // KActionPtrList actions(); >>>> NOT CONVERTED + // TDEActionPtrList actions(); >>>> NOT CONVERTED /** Used for reading shortcut configuration from a non-XML rc file. @short Used for reading shortcut configuration from a non-XML rc file. @@ -163,10 +163,10 @@ public class KActionCollection extends TQObject { */ public native TDEInstanceInterface instance(); /** - Enable highlighting notification for specific KActions. + Enable highlighting notification for specific TDEActions. This is false by default, so, by default, the highlighting signals will not be emitted. - @short Enable highlighting notification for specific KActions. + @short Enable highlighting notification for specific TDEActions. @see #connectHighlight @see #disconnectHighlight @see #actionHighlighted @@ -185,24 +185,24 @@ public class KActionCollection extends TQObject { */ public native boolean highlightingEnabled(); /** - Call this function if you want to receive a signal whenever a KAction is highlighted in a menu or a toolbar. + Call this function if you want to receive a signal whenever a TDEAction is highlighted in a menu or a toolbar. This is only needed if you do not add this action to this container. You will generally not need to call this function. - @param container A container in which the KAction is plugged (must inherit TQPopupMenu or KToolBar) + @param container A container in which the TDEAction is plugged (must inherit TQPopupMenu or TDEToolBar) @param action The action you are interested in - @short Call this function if you want to receive a signal whenever a KAction is highlighted in a menu or a toolbar. + @short Call this function if you want to receive a signal whenever a TDEAction is highlighted in a menu or a toolbar. @see #disconnectHighlight @see #actionHighlighted @see #setHighlightingEnabled @see #highlightingEnabled @see #actionHighlighted */ - public native void connectHighlight(TQWidget container, KAction action); + public native void connectHighlight(TQWidget container, TDEAction action); /** Disconnect highlight notifications for a particular pair of contianer and action. This is only needed if you do not add this action to this container. You will generally not need to call this function. - @param container A container in which the KAction is plugged (must inherit TQPopupMenu or KToolBar) + @param container A container in which the TDEAction is plugged (must inherit TQPopupMenu or TDEToolBar) @param action The action you are interested in @short Disconnect highlight notifications for a particular pair of contianer and action. @see #connectHighlight @@ -211,59 +211,59 @@ public class KActionCollection extends TQObject { @see #highlightingEnabled @see #actionHighlighted */ - public native void disconnectHighlight(TQWidget container, KAction action); + public native void disconnectHighlight(TQWidget container, TDEAction action); /** The parent KXMLGUIClient, return null if not available. @short The parent KXMLGUIClient, return 0L if not available. */ public native KXMLGUIClientInterface parentGUIClient(); - public KActionCollection(TQObject parent, String name, TDEInstanceInterface instance) { + public TDEActionCollection(TQObject parent, String name, TDEInstanceInterface instance) { super((Class) null); - newKActionCollection(parent,name,instance); + newTDEActionCollection(parent,name,instance); } - private native void newKActionCollection(TQObject parent, String name, TDEInstanceInterface instance); - public KActionCollection(TQObject parent, String name) { + private native void newTDEActionCollection(TQObject parent, String name, TDEInstanceInterface instance); + public TDEActionCollection(TQObject parent, String name) { super((Class) null); - newKActionCollection(parent,name); + newTDEActionCollection(parent,name); } - private native void newKActionCollection(TQObject parent, String name); - public KActionCollection(TQObject parent) { + private native void newTDEActionCollection(TQObject parent, String name); + public TDEActionCollection(TQObject parent) { super((Class) null); - newKActionCollection(parent); + newTDEActionCollection(parent); } - private native void newKActionCollection(TQObject parent); + private native void newTDEActionCollection(TQObject parent); /** Add an action to the collection. Generally you don't have to call this. The action inserts itself automatically into its parent collection. This can be useful however for a short-lived collection (e.g. for a popupmenu, where the signals from the collection are needed too). - (don't forget that in the simple case, a list of actions should be a simple KActionPtrList). + (don't forget that in the simple case, a list of actions should be a simple TDEActionPtrList). If you manually insert actions into a 2nd collection, don't forget to take them out again before destroying the collection. - @param action The KAction to add. + @param action The TDEAction to add. @short Add an action to the collection. */ - public native void insert(KAction action); + public native void insert(TDEAction action); /** Removes an action from the collection and deletes it. - Since the KAction destructor removes the action from the collection, you generally + Since the TDEAction destructor removes the action from the collection, you generally don't have to call this. - @param action The KAction to remove. + @param action The TDEAction to remove. @short Removes an action from the collection and deletes it. */ - public native void remove(KAction action); + public native void remove(TDEAction action); /** Removes an action from the collection. - Since the KAction destructor removes the action from the collection, you generally + Since the TDEAction destructor removes the action from the collection, you generally don't have to call this. - @param action the KAction to remove. + @param action the TDEAction to remove. @return NULL if not found else returns action. @short Removes an action from the collection. */ - public native KAction take(KAction action); - public native KActionCollection op_plus(KActionCollection arg1); - public native KActionCollection op_plus_assign(KActionCollection arg1); + public native TDEAction take(TDEAction action); + public native TDEActionCollection op_plus(TDEActionCollection arg1); + public native TDEActionCollection op_plus_assign(TDEActionCollection arg1); /** Clears the entire actionCollection, deleting all actions. @short Clears the entire actionCollection, deleting all actions. diff --git a/kdejava/koala/org/kde/koala/KActionCollectionSignals.java b/kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java index 8dd6cae1..d2ce96ed 100644 --- a/kdejava/koala/org/kde/koala/KActionCollectionSignals.java +++ b/kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java @@ -7,9 +7,9 @@ import org.kde.qt.TQObject; import java.util.ArrayList; import org.kde.qt.TQWidget; -public interface KActionCollectionSignals { - void inserted(KAction arg1); - void removed(KAction arg1); +public interface TDEActionCollectionSignals { + void inserted(TDEAction arg1); + void removed(TDEAction arg1); /** Emitted when <code>action</code> is highlighted. This is only emitted if you have setHighlightingEnabled() @short Emitted when <code>action</code> is highlighted. @@ -19,7 +19,7 @@ public interface KActionCollectionSignals { @see #setHighlightingEnabled @see #highlightingEnabled */ - void actionHighlighted(KAction action); + void actionHighlighted(TDEAction action); /** Emitted when <code>action</code> is highlighed or loses highlighting. This is only emitted if you have setHighlightingEnabled() @short Emitted when <code>action</code> is highlighed or loses highlighting. @@ -29,7 +29,7 @@ public interface KActionCollectionSignals { @see #setHighlightingEnabled @see #highlightingEnabled */ - void actionHighlighted(KAction action, boolean highlight); + void actionHighlighted(TDEAction action, boolean highlight); /** Emitted when an action is highlighted, with text being the tooltip for the action. This is only emitted if you have setHighlightingEnabled() diff --git a/kdejava/koala/org/kde/koala/KActionMenu.java b/kdejava/koala/org/kde/koala/TDEActionMenu.java index a1ef27c3..f455cd9a 100644 --- a/kdejava/koala/org/kde/koala/KActionMenu.java +++ b/kdejava/koala/org/kde/koala/TDEActionMenu.java @@ -11,102 +11,102 @@ import org.kde.qt.TQWidget; /** - A KActionMenu is an action that holds a sub-menu of other actions. + A TDEActionMenu is an action that holds a sub-menu of other actions. insert() and remove() allow to insert and remove actions into this action-menu. Plugged in a popupmenu, it will create a submenu. Plugged in a toolbar, it will create a button with a popup menu. This is the action used by the XMLGUI since it holds other actions. - If you want a submenu for selecting one tool among many (without icons), see KSelectAction. + If you want a submenu for selecting one tool among many (without icons), see TDESelectAction. See also setDelayed about the main action. - @short A KActionMenu is an action that holds a sub-menu of other actions. + @short A TDEActionMenu is an action that holds a sub-menu of other actions. */ -public class KActionMenu extends KAction { - protected KActionMenu(Class dummy){super((Class) null);} +public class TDEActionMenu extends TDEAction { + protected TDEActionMenu(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); - public KActionMenu(String text, TQObject parent, String name) { + public TDEActionMenu(String text, TQObject parent, String name) { super((Class) null); - newKActionMenu(text,parent,name); + newTDEActionMenu(text,parent,name); } - private native void newKActionMenu(String text, TQObject parent, String name); - public KActionMenu(String text, TQObject parent) { + private native void newTDEActionMenu(String text, TQObject parent, String name); + public TDEActionMenu(String text, TQObject parent) { super((Class) null); - newKActionMenu(text,parent); + newTDEActionMenu(text,parent); } - private native void newKActionMenu(String text, TQObject parent); - public KActionMenu(String text) { + private native void newTDEActionMenu(String text, TQObject parent); + public TDEActionMenu(String text) { super((Class) null); - newKActionMenu(text); + newTDEActionMenu(text); } - private native void newKActionMenu(String text); - public KActionMenu(String text, TQIconSet icon, TQObject parent, String name) { + private native void newTDEActionMenu(String text); + public TDEActionMenu(String text, TQIconSet icon, TQObject parent, String name) { super((Class) null); - newKActionMenu(text,icon,parent,name); + newTDEActionMenu(text,icon,parent,name); } - private native void newKActionMenu(String text, TQIconSet icon, TQObject parent, String name); - public KActionMenu(String text, TQIconSet icon, TQObject parent) { + private native void newTDEActionMenu(String text, TQIconSet icon, TQObject parent, String name); + public TDEActionMenu(String text, TQIconSet icon, TQObject parent) { super((Class) null); - newKActionMenu(text,icon,parent); + newTDEActionMenu(text,icon,parent); } - private native void newKActionMenu(String text, TQIconSet icon, TQObject parent); - public KActionMenu(String text, TQIconSet icon) { + private native void newTDEActionMenu(String text, TQIconSet icon, TQObject parent); + public TDEActionMenu(String text, TQIconSet icon) { super((Class) null); - newKActionMenu(text,icon); + newTDEActionMenu(text,icon); } - private native void newKActionMenu(String text, TQIconSet icon); - public KActionMenu(String text, String icon, TQObject parent, String name) { + private native void newTDEActionMenu(String text, TQIconSet icon); + public TDEActionMenu(String text, String icon, TQObject parent, String name) { super((Class) null); - newKActionMenu(text,icon,parent,name); + newTDEActionMenu(text,icon,parent,name); } - private native void newKActionMenu(String text, String icon, TQObject parent, String name); - public KActionMenu(String text, String icon, TQObject parent) { + private native void newTDEActionMenu(String text, String icon, TQObject parent, String name); + public TDEActionMenu(String text, String icon, TQObject parent) { super((Class) null); - newKActionMenu(text,icon,parent); + newTDEActionMenu(text,icon,parent); } - private native void newKActionMenu(String text, String icon, TQObject parent); - public KActionMenu(String text, String icon) { + private native void newTDEActionMenu(String text, String icon, TQObject parent); + public TDEActionMenu(String text, String icon) { super((Class) null); - newKActionMenu(text,icon); + newTDEActionMenu(text,icon); } - private native void newKActionMenu(String text, String icon); - public KActionMenu(TQObject parent, String name) { + private native void newTDEActionMenu(String text, String icon); + public TDEActionMenu(TQObject parent, String name) { super((Class) null); - newKActionMenu(parent,name); + newTDEActionMenu(parent,name); } - private native void newKActionMenu(TQObject parent, String name); - public KActionMenu(TQObject parent) { + private native void newTDEActionMenu(TQObject parent, String name); + public TDEActionMenu(TQObject parent) { super((Class) null); - newKActionMenu(parent); + newTDEActionMenu(parent); } - private native void newKActionMenu(TQObject parent); - public KActionMenu() { + private native void newTDEActionMenu(TQObject parent); + public TDEActionMenu() { super((Class) null); - newKActionMenu(); + newTDEActionMenu(); } - private native void newKActionMenu(); - public native void insert(KAction arg1, int index); - public native void insert(KAction arg1); - public native void remove(KAction arg1); - public native KPopupMenu popupMenu(); + private native void newTDEActionMenu(); + public native void insert(TDEAction arg1, int index); + public native void insert(TDEAction arg1); + public native void remove(TDEAction arg1); + public native TDEPopupMenu popupMenu(); public native void popup(TQPoint global); /** Returns true if this action creates a delayed popup menu - when plugged in a KToolbar. - @short Returns true if this action creates a delayed popup menu when plugged in a KToolbar. + when plugged in a TDEToolbar. + @short Returns true if this action creates a delayed popup menu when plugged in a TDEToolbar. */ public native boolean delayed(); /** If set to true, this action will create a delayed popup menu - when plugged in a KToolbar. Otherwise it creates a normal popup. + when plugged in a TDEToolbar. Otherwise it creates a normal popup. Default: delayed Remember that if the "main" action (the toolbar button itself) cannot be clicked, then you should call setDelayed(false). On the opposite, if the main action can be clicked, it can only happen in a toolbar: in a menu, the parent of a submenu can't be activated. To get a "normal" menu item when plugged a menu (and no submenu) - use KToolBarPopupAction. - @short If set to true, this action will create a delayed popup menu when plugged in a KToolbar. + use TDEToolBarPopupAction. + @short If set to true, this action will create a delayed popup menu when plugged in a TDEToolbar. */ public native void setDelayed(boolean _delayed); /** @@ -117,12 +117,12 @@ public class KActionMenu extends KAction { public native boolean stickyMenu(); /** If set to true, this action will create a sticky popup menu - when plugged in a KToolbar. + when plugged in a TDEToolbar. "Sticky", means it's visible until a selection is made or the mouse is clicked elsewhere. This feature allows you to make a selection without having to press and hold down the mouse while making a selection. Default: sticky. - @short If set to true, this action will create a sticky popup menu when plugged in a KToolbar. + @short If set to true, this action will create a sticky popup menu when plugged in a TDEToolbar. */ public native void setStickyMenu(boolean sticky); public native int plug(TQWidget widget, int index); diff --git a/kdejava/koala/org/kde/koala/KActionSeparator.java b/kdejava/koala/org/kde/koala/TDEActionSeparator.java index 82dfe2ec..d19d7d86 100644 --- a/kdejava/koala/org/kde/koala/KActionSeparator.java +++ b/kdejava/koala/org/kde/koala/TDEActionSeparator.java @@ -9,25 +9,25 @@ import org.kde.qt.TQWidget; /** */ -public class KActionSeparator extends KAction { - protected KActionSeparator(Class dummy){super((Class) null);} +public class TDEActionSeparator extends TDEAction { + protected TDEActionSeparator(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); - public KActionSeparator(TQObject parent, String name) { + public TDEActionSeparator(TQObject parent, String name) { super((Class) null); - newKActionSeparator(parent,name); + newTDEActionSeparator(parent,name); } - private native void newKActionSeparator(TQObject parent, String name); - public KActionSeparator(TQObject parent) { + private native void newTDEActionSeparator(TQObject parent, String name); + public TDEActionSeparator(TQObject parent) { super((Class) null); - newKActionSeparator(parent); + newTDEActionSeparator(parent); } - private native void newKActionSeparator(TQObject parent); - public KActionSeparator() { + private native void newTDEActionSeparator(TQObject parent); + public TDEActionSeparator() { super((Class) null); - newKActionSeparator(); + newTDEActionSeparator(); } - private native void newKActionSeparator(); + private native void newTDEActionSeparator(); public native int plug(TQWidget widget, int index); public native int plug(TQWidget widget); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KActionShortcutList.java b/kdejava/koala/org/kde/koala/TDEActionShortcutList.java index 15b41151..09945088 100644 --- a/kdejava/koala/org/kde/koala/KActionShortcutList.java +++ b/kdejava/koala/org/kde/koala/TDEActionShortcutList.java @@ -7,26 +7,26 @@ import org.kde.qt.TQVariant; /** */ -public class KActionShortcutList extends KShortcutList { - protected KActionShortcutList(Class dummy){super((Class) null);} - public KActionShortcutList(KActionCollection arg1) { +public class TDEActionShortcutList extends TDEShortcutList { + protected TDEActionShortcutList(Class dummy){super((Class) null);} + public TDEActionShortcutList(TDEActionCollection arg1) { super((Class) null); - newKActionShortcutList(arg1); + newTDEActionShortcutList(arg1); } - private native void newKActionShortcutList(KActionCollection arg1); + private native void newTDEActionShortcutList(TDEActionCollection arg1); public native int count(); public native String name(int i); public native String label(int arg1); public native String whatsThis(int arg1); - public native KShortcut shortcut(int arg1); - public native KShortcut shortcutDefault(int arg1); + public native TDEShortcut shortcut(int arg1); + public native TDEShortcut shortcutDefault(int arg1); public native boolean isConfigurable(int arg1); - public native boolean setShortcut(int arg1, KShortcut arg2); + public native boolean setShortcut(int arg1, TDEShortcut arg2); public native TDEInstanceInterface instance(); public native TQVariant getOther(int arg1, int index); public native boolean setOther(int arg1, int index, TQVariant arg3); public native boolean save(); - public native KAction action(int arg1); + public native TDEAction action(int arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KActionSignals.java b/kdejava/koala/org/kde/koala/TDEActionSignals.java index 9476caa9..0602f5f8 100644 --- a/kdejava/koala/org/kde/koala/KActionSignals.java +++ b/kdejava/koala/org/kde/koala/TDEActionSignals.java @@ -8,7 +8,7 @@ import org.kde.qt.TQPopupMenu; import org.kde.qt.TQIconSet; import org.kde.qt.TQWidget; -public interface KActionSignals { +public interface TDEActionSignals { /** Emitted when this action is activated @short Emitted when this action is activated diff --git a/kdejava/koala/org/kde/koala/TDEApplication.java b/kdejava/koala/org/kde/koala/TDEApplication.java index 4e24cc29..2a1514ef 100644 --- a/kdejava/koala/org/kde/koala/TDEApplication.java +++ b/kdejava/koala/org/kde/koala/TDEApplication.java @@ -251,10 +251,10 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac /** Returns true if the application is currently saving its session data (most probably before KDE logout). This is intended for use - mainly in KMainWindow.queryClose() and KMainWindow.queryExit(). + mainly in TDEMainWindow.queryClose() and TDEMainWindow.queryExit(). @short Returns true if the application is currently saving its session data (most probably before KDE logout). - @see KMainWindow#queryClose - @see KMainWindow#queryExit + @see TDEMainWindow#queryClose + @see TDEMainWindow#queryExit */ public native boolean sessionSaving(); /** @@ -289,7 +289,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac Sets the top widget of the application. This means basically applying the right window caption and icon. An application may have several top widgets. You don't - need to call this function manually when using KMainWindow. + need to call this function manually when using TDEMainWindow. @param topWidget A top widget of the application. @short Sets the top widget of the application. @see #icon @@ -516,14 +516,14 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac */ public native boolean authorize(String genericAction); /** - Returns whether a certain KAction is authorized. - @param action The name of a KAction action. The name is prepended + Returns whether a certain TDEAction is authorized. + @param action The name of a TDEAction action. The name is prepended with "action/" before being passed to authorize() - @return true if the KAction is authorized + @return true if the TDEAction is authorized - @short Returns whether a certain KAction is authorized. + @short Returns whether a certain TDEAction is authorized. */ - public native boolean authorizeKAction(String action); + public native boolean authorizeTDEAction(String action); /** Returns whether a certain URL related action is authorized. @param action The name of the action. Known actions are @@ -629,16 +629,16 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac If the widget with focus provides a clear() slot, call that slot. Thus for a simple application clear() can be implemented as: <pre> - new KAction( i18n( "Clear" ), "editclear", 0, kapp, SLOT("clear()"), actionCollection(), "clear" ); + new TDEAction( i18n( "Clear" ), "editclear", 0, kapp, SLOT("clear()"), actionCollection(), "clear" ); </pre> Note that for some widgets, this may not provide the intended bahavior. For - example if you make use of the code above and a KListView has the focus, clear() + example if you make use of the code above and a TDEListView has the focus, clear() will clear all of the items in the list. If this is not the intened behavior - and you want to make use of this slot, you can subclass KListView and reimplement - this slot. For example the following code would implement a KListView without this + and you want to make use of this slot, you can subclass TDEListView and reimplement + this slot. For example the following code would implement a TDEListView without this behavior: <pre> - public class MyListView implements KListView { + public class MyListView implements TDEListView { public MyListView( TQWidget parent = 0, String name = 0, WFlags f = 0 ) {} public void clear() {} @@ -998,7 +998,7 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac } </pre> Now in your application calls to MyApplication.deselect() will call this slot on the - focused widget if it provides this slot. You can combine this with KAction with: + focused widget if it provides this slot. You can combine this with TDEAction with: <pre> KStdAction.deselect( (MyApplication)( kapp ), SLOT("cut()"), actionCollection() ); </pre> diff --git a/kdejava/koala/org/kde/koala/TDEApplicationSignals.java b/kdejava/koala/org/kde/koala/TDEApplicationSignals.java index 429e66ec..22e80d3c 100644 --- a/kdejava/koala/org/kde/koala/TDEApplicationSignals.java +++ b/kdejava/koala/org/kde/koala/TDEApplicationSignals.java @@ -46,7 +46,7 @@ public interface TDEApplicationSignals { */ void appearanceChanged(); /** - Emitted when the settings for toolbars have been changed. KToolBar will know what to do. + Emitted when the settings for toolbars have been changed. TDEToolBar will know what to do. @short Emitted when the settings for toolbars have been changed. */ void toolbarAppearanceChanged(int arg1); @@ -84,11 +84,11 @@ public interface TDEApplicationSignals { /** Session management asks you to save the state of your application. This signal is provided for compatibility only. For new - applications, simply use KMainWindow. By reimplementing - KMainWindow.queryClose(), KMainWindow.saveProperties() and - KMainWindow.readProperties() you can simply handle session + applications, simply use TDEMainWindow. By reimplementing + TDEMainWindow.queryClose(), TDEMainWindow.saveProperties() and + TDEMainWindow.readProperties() you can simply handle session management for applications with multiple toplevel windows. - For purposes without KMainWindow, create an instance of + For purposes without TDEMainWindow, create an instance of KSessionManaged and reimplement the functions KSessionManaged.commitData() and/or KSessionManaged.saveState() diff --git a/kdejava/koala/org/kde/koala/TDEFontAction.java b/kdejava/koala/org/kde/koala/TDEFontAction.java new file mode 100644 index 00000000..c0fa4f0a --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEFontAction.java @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; + +/** +*/ +public class TDEFontAction extends TDESelectAction { + protected TDEFontAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TDEFontAction(String text, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,cut,parent,name); + } + private native void newTDEFontAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDEFontAction(String text, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontAction(text,cut,parent); + } + private native void newTDEFontAction(String text, TDEShortcut cut, TQObject parent); + public TDEFontAction(String text, TDEShortcut cut) { + super((Class) null); + newTDEFontAction(text,cut); + } + private native void newTDEFontAction(String text, TDEShortcut cut); + public TDEFontAction(String text) { + super((Class) null); + newTDEFontAction(text); + } + private native void newTDEFontAction(String text); + public TDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,cut,receiver,slot,parent,name); + } + private native void newTDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontAction(text,cut,receiver,slot,parent); + } + private native void newTDEFontAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,pix,cut,parent,name); + } + private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontAction(text,pix,cut,parent); + } + private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut) { + super((Class) null); + newTDEFontAction(text,pix,cut); + } + private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut); + public TDEFontAction(String text, TQIconSet pix) { + super((Class) null); + newTDEFontAction(text,pix); + } + private native void newTDEFontAction(String text, TQIconSet pix); + public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,pix,cut,parent,name); + } + private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontAction(text,pix,cut,parent); + } + private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDEFontAction(String text, String pix, TDEShortcut cut) { + super((Class) null); + newTDEFontAction(text,pix,cut); + } + private native void newTDEFontAction(String text, String pix, TDEShortcut cut); + public TDEFontAction(String text, String pix) { + super((Class) null); + newTDEFontAction(text,pix); + } + private native void newTDEFontAction(String text, String pix); + public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEFontAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEFontAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,cut,parent,name); + } + private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent, String name); + public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,cut,parent); + } + private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut, TQObject parent); + public TDEFontAction(int fontListCriteria, String text, TDEShortcut cut) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,cut); + } + private native void newTDEFontAction(int fontListCriteria, String text, TDEShortcut cut); + public TDEFontAction(int fontListCriteria, String text) { + super((Class) null); + newTDEFontAction(fontListCriteria,text); + } + private native void newTDEFontAction(int fontListCriteria, String text); + public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,pix,cut,parent,name); + } + private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,pix,cut,parent); + } + private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut, TQObject parent); + public TDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,pix,cut); + } + private native void newTDEFontAction(int fontListCriteria, String text, String pix, TDEShortcut cut); + public TDEFontAction(int fontListCriteria, String text, String pix) { + super((Class) null); + newTDEFontAction(fontListCriteria,text,pix); + } + private native void newTDEFontAction(int fontListCriteria, String text, String pix); + public TDEFontAction(TQObject parent, String name) { + super((Class) null); + newTDEFontAction(parent,name); + } + private native void newTDEFontAction(TQObject parent, String name); + public TDEFontAction(TQObject parent) { + super((Class) null); + newTDEFontAction(parent); + } + private native void newTDEFontAction(TQObject parent); + public TDEFontAction() { + super((Class) null); + newTDEFontAction(); + } + private native void newTDEFontAction(); + public native String font(); + public native int plug(TQWidget arg1, int index); + public native int plug(TQWidget arg1); + public native void setFont(String family); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KFontChooser.java b/kdejava/koala/org/kde/koala/TDEFontChooser.java index d75c5ff6..9504b868 100644 --- a/kdejava/koala/org/kde/koala/KFontChooser.java +++ b/kdejava/koala/org/kde/koala/TDEFontChooser.java @@ -12,12 +12,12 @@ import org.kde.qt.TQWidget; /** - While KFontChooser as an ordinary widget can be embedded in + While TDEFontChooser as an ordinary widget can be embedded in custom dialogs and therefore is very flexible, in most cases it is preferable to use the convenience functions in - KFontDialog. + TDEFontDialog. \image html kfontchooser.png "KDE Font Chooser" - See {@link KFontChooserSignals} for signals emitted by KFontChooser + See {@link TDEFontChooserSignals} for signals emitted by TDEFontChooser @author Preston Brown <pbrown@kde.org>, Bernd Wuebben <wuebben@kde.org> @version $Id$ @@ -25,8 +25,8 @@ import org.kde.qt.TQWidget; @short A font selection widget. */ -public class KFontChooser extends TQWidget { - protected KFontChooser(Class dummy){super((Class) null);} +public class TDEFontChooser extends TQWidget { + protected TDEFontChooser(Class dummy){super((Class) null);} /** <li> @@ -100,8 +100,8 @@ public class KFontChooser extends TQWidget { <p>Consider the following code snippet; <pre> ArrayList list; - KFontChooser.getFontList(list,SmoothScalableFonts); - KFontChooser chooseFont = new KFontChooser(0, "FontList", false, list); + TDEFontChooser.getFontList(list,SmoothScalableFonts); + TDEFontChooser chooseFont = new TDEFontChooser(0, "FontList", false, list); </pre> <p> The above creates a font chooser dialog with only SmoothScaleble fonts. @@ -114,7 +114,7 @@ public class KFontChooser extends TQWidget { If that has not been created, X is queried, and all fonts available on the system are displayed. @param diff Display the difference version dialog. - See KFontDialog.getFontDiff(). + See TDEFontDialog.getFontDiff(). @param makeFrame Draws a frame with titles around the contents. @param visibleListSize The minimum number of visible entries in the fontlists. @@ -126,51 +126,51 @@ public class KFontChooser extends TQWidget { calling sizeIsRelative(). @short Constructs a font picker widget. */ - public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) { + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) { super((Class) null); - newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff,sizeIsRelativeState); + newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff,sizeIsRelativeState); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState); - public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState); + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) { super((Class) null); - newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff); + newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff); - public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff); + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) { super((Class) null); - newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize); + newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize); - public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize); + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) { super((Class) null); - newKFontChooser(parent,name,onlyFixed,fontList,makeFrame); + newTDEFontChooser(parent,name,onlyFixed,fontList,makeFrame); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame); - public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame); + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList) { super((Class) null); - newKFontChooser(parent,name,onlyFixed,fontList); + newTDEFontChooser(parent,name,onlyFixed,fontList); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList); - public KFontChooser(TQWidget parent, String name, boolean onlyFixed) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList); + public TDEFontChooser(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); - newKFontChooser(parent,name,onlyFixed); + newTDEFontChooser(parent,name,onlyFixed); } - private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed); - public KFontChooser(TQWidget parent, String name) { + private native void newTDEFontChooser(TQWidget parent, String name, boolean onlyFixed); + public TDEFontChooser(TQWidget parent, String name) { super((Class) null); - newKFontChooser(parent,name); + newTDEFontChooser(parent,name); } - private native void newKFontChooser(TQWidget parent, String name); - public KFontChooser(TQWidget parent) { + private native void newTDEFontChooser(TQWidget parent, String name); + public TDEFontChooser(TQWidget parent) { super((Class) null); - newKFontChooser(parent); + newTDEFontChooser(parent); } - private native void newKFontChooser(TQWidget parent); - public KFontChooser() { + private native void newTDEFontChooser(TQWidget parent); + public TDEFontChooser() { super((Class) null); - newKFontChooser(); + newTDEFontChooser(); } - private native void newKFontChooser(); + private native void newTDEFontChooser(); /** Enables or disable a font column in the chooser. Use this @@ -284,7 +284,7 @@ public class KFontChooser extends TQWidget { @param list The list is returned here. @param fontListCriteria should contain all the restrictions for font selection as OR-ed values @short Creates a list of font strings. - @see KFontChooser#FontListCriteria + @see TDEFontChooser#FontListCriteria @see #for @see #the @see #individual diff --git a/kdejava/koala/org/kde/koala/KFontChooserSignals.java b/kdejava/koala/org/kde/koala/TDEFontChooserSignals.java index 93ef6bf3..a9cfca66 100644 --- a/kdejava/koala/org/kde/koala/KFontChooserSignals.java +++ b/kdejava/koala/org/kde/koala/TDEFontChooserSignals.java @@ -8,7 +8,7 @@ import org.kde.qt.QtSupport; import org.kde.qt.TQSize; import org.kde.qt.TQWidget; -public interface KFontChooserSignals { +public interface TDEFontChooserSignals { /** Emitted whenever the selected font changes. @short Emitted whenever the selected font changes. diff --git a/kdejava/koala/org/kde/koala/KFontCombo.java b/kdejava/koala/org/kde/koala/TDEFontCombo.java index 6ce80e5d..e00d12ec 100644 --- a/kdejava/koala/org/kde/koala/KFontCombo.java +++ b/kdejava/koala/org/kde/koala/TDEFontCombo.java @@ -16,8 +16,8 @@ import org.kde.qt.TQWidget; @short A combobox that lists the available fonts. */ -public class KFontCombo extends KComboBox { - protected KFontCombo(Class dummy){super((Class) null);} +public class TDEFontCombo extends KComboBox { + protected TDEFontCombo(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -26,16 +26,16 @@ public class KFontCombo extends KComboBox { @param name The object name for the widget @short Constructor */ - public KFontCombo(TQWidget parent, String name) { + public TDEFontCombo(TQWidget parent, String name) { super((Class) null); - newKFontCombo(parent,name); + newTDEFontCombo(parent,name); } - private native void newKFontCombo(TQWidget parent, String name); - public KFontCombo(TQWidget parent) { + private native void newTDEFontCombo(TQWidget parent, String name); + public TDEFontCombo(TQWidget parent) { super((Class) null); - newKFontCombo(parent); + newTDEFontCombo(parent); } - private native void newKFontCombo(TQWidget parent); + private native void newTDEFontCombo(TQWidget parent); /** Constructor that takes an already initialzed font list @param fonts A list of fonts to show @@ -43,16 +43,16 @@ public class KFontCombo extends KComboBox { @param name The object name for the widget @short Constructor that takes an already initialzed font list */ - public KFontCombo(String[] fonts, TQWidget parent, String name) { + public TDEFontCombo(String[] fonts, TQWidget parent, String name) { super((Class) null); - newKFontCombo(fonts,parent,name); + newTDEFontCombo(fonts,parent,name); } - private native void newKFontCombo(String[] fonts, TQWidget parent, String name); - public KFontCombo(String[] fonts, TQWidget parent) { + private native void newTDEFontCombo(String[] fonts, TQWidget parent, String name); + public TDEFontCombo(String[] fonts, TQWidget parent) { super((Class) null); - newKFontCombo(fonts,parent); + newTDEFontCombo(fonts,parent); } - private native void newKFontCombo(String[] fonts, TQWidget parent); + private native void newTDEFontCombo(String[] fonts, TQWidget parent); /** Sets the font list. @param fonts Font list to show diff --git a/kdejava/koala/org/kde/koala/KFontDialog.java b/kdejava/koala/org/kde/koala/TDEFontDialog.java index d53456a7..2b057cb8 100644 --- a/kdejava/koala/org/kde/koala/KFontDialog.java +++ b/kdejava/koala/org/kde/koala/TDEFontDialog.java @@ -9,21 +9,21 @@ import org.kde.qt.TQWidget; /** - The KFontDialog provides a dialog for interactive font selection. - It is basically a thin wrapper around the KFontChooser widget, + The TDEFontDialog provides a dialog for interactive font selection. + It is basically a thin wrapper around the TDEFontChooser widget, which can also be used standalone. In most cases, the simplest - use of this class is the static method KFontDialog.getFont(), + use of this class is the static method TDEFontDialog.getFont(), which pops up the dialog, allows the user to select a font, and returns when the dialog is closed. Example: <pre> TQFont myFont; - int result = KFontDialog.getFont( myFont ); - if ( result == KFontDialog.Accepted ) + int result = TDEFontDialog.getFont( myFont ); + if ( result == TDEFontDialog.Accepted ) ... </pre> \image html kfontdialog.png "KDE Font Dialog" - See {@link KFontDialogSignals} for signals emitted by KFontDialog + See {@link TDEFontDialogSignals} for signals emitted by TDEFontDialog @author Preston Brown <pbrown@kde.org>, Bernd Wuebben <wuebben@kde.org> @version $Id$ @@ -31,8 +31,8 @@ import org.kde.qt.TQWidget; @short A font selection dialog. */ -public class KFontDialog extends KDialogBase { - protected KFontDialog(Class dummy){super((Class) null);} +public class TDEFontDialog extends KDialogBase { + protected TDEFontDialog(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -56,51 +56,51 @@ public class KFontDialog extends KDialogBase { calling sizeIsRelative(). @short Constructs a font selection dialog. */ - public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { super((Class) null); - newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff,sizeIsRelativeState); + newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff,sizeIsRelativeState); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); - public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { super((Class) null); - newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff); + newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); - public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { super((Class) null); - newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame); + newTDEFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); - public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { super((Class) null); - newKFontDialog(parent,name,onlyFixed,modal,fontlist); + newTDEFontDialog(parent,name,onlyFixed,modal,fontlist); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); - public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal) { super((Class) null); - newKFontDialog(parent,name,onlyFixed,modal); + newTDEFontDialog(parent,name,onlyFixed,modal); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal); - public KFontDialog(TQWidget parent, String name, boolean onlyFixed) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal); + public TDEFontDialog(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); - newKFontDialog(parent,name,onlyFixed); + newTDEFontDialog(parent,name,onlyFixed); } - private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed); - public KFontDialog(TQWidget parent, String name) { + private native void newTDEFontDialog(TQWidget parent, String name, boolean onlyFixed); + public TDEFontDialog(TQWidget parent, String name) { super((Class) null); - newKFontDialog(parent,name); + newTDEFontDialog(parent,name); } - private native void newKFontDialog(TQWidget parent, String name); - public KFontDialog(TQWidget parent) { + private native void newTDEFontDialog(TQWidget parent, String name); + public TDEFontDialog(TQWidget parent) { super((Class) null); - newKFontDialog(parent); + newTDEFontDialog(parent); } - private native void newKFontDialog(TQWidget parent); - public KFontDialog() { + private native void newTDEFontDialog(TQWidget parent); + public TDEFontDialog() { super((Class) null); - newKFontDialog(); + newTDEFontDialog(); } - private native void newKFontDialog(); + private native void newTDEFontDialog(); /** Sets the currently selected font in the dialog. @param font The font to select. @@ -166,11 +166,11 @@ public class KFontDialog extends KDialogBase { difference selection bitmask should be written. Check the returned bitmask like: <pre> - if ( diffFlags & KFontChooser.FontDiffFamily ) + if ( diffFlags & TDEFontChooser.FontDiffFamily ) [...] - if ( diffFlags & KFontChooser.FontDiffStyle ) + if ( diffFlags & TDEFontChooser.FontDiffStyle ) [...] - if ( diffFlags & KFontChooser.FontDiffSize ) + if ( diffFlags & TDEFontChooser.FontDiffSize ) [...] </pre> @param onlyFixed if true, only select from fixed-width fonts. diff --git a/kdejava/koala/org/kde/koala/KFontDialogSignals.java b/kdejava/koala/org/kde/koala/TDEFontDialogSignals.java index e567a077..f3418777 100644 --- a/kdejava/koala/org/kde/koala/KFontDialogSignals.java +++ b/kdejava/koala/org/kde/koala/TDEFontDialogSignals.java @@ -6,7 +6,7 @@ import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import org.kde.qt.TQWidget; -public interface KFontDialogSignals { +public interface TDEFontDialogSignals { /** Emitted whenever the currently selected font changes. Connect to this to monitor the font as it is selected if you are diff --git a/kdejava/koala/org/kde/koala/KFontRequester.java b/kdejava/koala/org/kde/koala/TDEFontRequester.java index b93ce12a..83a2c64c 100644 --- a/kdejava/koala/org/kde/koala/KFontRequester.java +++ b/kdejava/koala/org/kde/koala/TDEFontRequester.java @@ -13,18 +13,18 @@ import org.kde.qt.TQWidget; /** This class provides a widget with a lineedit and a button, which invokes - a font dialog (KFontDialog). + a font dialog (TDEFontDialog). The lineedit provides a preview of the selected font. The preview text can be customized. You can also have the font dialog show only the fixed fonts. \image html kfontrequester.png "KDE Font Requester" - See {@link KFontRequesterSignals} for signals emitted by KFontRequester + See {@link TDEFontRequesterSignals} for signals emitted by TDEFontRequester @author Nadeem Hasan <nhasan@kde.org> - @short This class provides a widget with a lineedit and a button, which invokes a font dialog (KFontDialog). + @short This class provides a widget with a lineedit and a button, which invokes a font dialog (TDEFontDialog). */ -public class KFontRequester extends TQWidget { - protected KFontRequester(Class dummy){super((Class) null);} +public class TDEFontRequester extends TQWidget { + protected TDEFontRequester(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -35,26 +35,26 @@ public class KFontRequester extends TQWidget { sizes. @short Constructs a font requester widget. */ - public KFontRequester(TQWidget parent, String name, boolean onlyFixed) { + public TDEFontRequester(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); - newKFontRequester(parent,name,onlyFixed); + newTDEFontRequester(parent,name,onlyFixed); } - private native void newKFontRequester(TQWidget parent, String name, boolean onlyFixed); - public KFontRequester(TQWidget parent, String name) { + private native void newTDEFontRequester(TQWidget parent, String name, boolean onlyFixed); + public TDEFontRequester(TQWidget parent, String name) { super((Class) null); - newKFontRequester(parent,name); + newTDEFontRequester(parent,name); } - private native void newKFontRequester(TQWidget parent, String name); - public KFontRequester(TQWidget parent) { + private native void newTDEFontRequester(TQWidget parent, String name); + public TDEFontRequester(TQWidget parent) { super((Class) null); - newKFontRequester(parent); + newTDEFontRequester(parent); } - private native void newKFontRequester(TQWidget parent); - public KFontRequester() { + private native void newTDEFontRequester(TQWidget parent); + public TDEFontRequester() { super((Class) null); - newKFontRequester(); + newTDEFontRequester(); } - private native void newKFontRequester(); + private native void newTDEFontRequester(); /** @return The currently selected font in the requester. diff --git a/kdejava/koala/org/kde/koala/KFontRequesterSignals.java b/kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java index 21628c5b..678541c2 100644 --- a/kdejava/koala/org/kde/koala/KFontRequesterSignals.java +++ b/kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java @@ -8,7 +8,7 @@ import org.kde.qt.TQPushButton; import org.kde.qt.TQWidget; import org.kde.qt.TQLabel; -public interface KFontRequesterSignals { +public interface TDEFontRequesterSignals { /** Emitted when a new <code>font</code> has been selected in the underlying dialog @short Emitted when a new <code>font</code> has been selected in the underlying dialog diff --git a/kdejava/koala/org/kde/koala/TDEFontSizeAction.java b/kdejava/koala/org/kde/koala/TDEFontSizeAction.java new file mode 100644 index 00000000..403beef4 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEFontSizeAction.java @@ -0,0 +1,133 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; + +/** + See {@link TDEFontSizeActionSignals} for signals emitted by TDEFontSizeAction +*/ +public class TDEFontSizeAction extends TDESelectAction { + protected TDEFontSizeAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TDEFontSizeAction(String text, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,cut,parent,name); + } + private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDEFontSizeAction(String text, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,cut,parent); + } + private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject parent); + public TDEFontSizeAction(String text, TDEShortcut cut) { + super((Class) null); + newTDEFontSizeAction(text,cut); + } + private native void newTDEFontSizeAction(String text, TDEShortcut cut); + public TDEFontSizeAction(String text) { + super((Class) null); + newTDEFontSizeAction(text); + } + private native void newTDEFontSizeAction(String text); + public TDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,cut,receiver,slot,parent,name); + } + private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,cut,receiver,slot,parent); + } + private native void newTDEFontSizeAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,parent,name); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,parent); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut); + public TDEFontSizeAction(String text, TQIconSet pix) { + super((Class) null); + newTDEFontSizeAction(text,pix); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix); + public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,parent,name); + } + private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,parent); + } + private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDEFontSizeAction(String text, String pix, TDEShortcut cut) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut); + } + private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut); + public TDEFontSizeAction(String text, String pix) { + super((Class) null); + newTDEFontSizeAction(text,pix); + } + private native void newTDEFontSizeAction(String text, String pix); + public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEFontSizeAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEFontSizeAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEFontSizeAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEFontSizeAction(TQObject parent, String name) { + super((Class) null); + newTDEFontSizeAction(parent,name); + } + private native void newTDEFontSizeAction(TQObject parent, String name); + public TDEFontSizeAction(TQObject parent) { + super((Class) null); + newTDEFontSizeAction(parent); + } + private native void newTDEFontSizeAction(TQObject parent); + public TDEFontSizeAction() { + super((Class) null); + newTDEFontSizeAction(); + } + private native void newTDEFontSizeAction(); + public native int fontSize(); + public native void setFontSize(int size); + protected native void slotActivated(int arg1); + protected native void slotActivated(String arg1); + protected native void slotActivated(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java b/kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java index 79fed5ac..8f5b73da 100644 --- a/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java +++ b/kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java @@ -6,6 +6,6 @@ import org.kde.qt.QtSupport; import org.kde.qt.TQObject; import org.kde.qt.TQIconSet; -public interface KFontSizeActionSignals { +public interface TDEFontSizeActionSignals { void fontSizeChanged(int arg1); } diff --git a/kdejava/koala/org/kde/koala/TDEGlobalAccel.java b/kdejava/koala/org/kde/koala/TDEGlobalAccel.java index cae065a5..5fcd5014 100644 --- a/kdejava/koala/org/kde/koala/TDEGlobalAccel.java +++ b/kdejava/koala/org/kde/koala/TDEGlobalAccel.java @@ -10,11 +10,11 @@ import org.kde.qt.TQObject; /** TDEGlobalAccel allows you to have global accelerators that are independent of - the focused window. Unlike KAccel it does not matter which window is + the focused window. Unlike TDEAccel it does not matter which window is currently active. @short Configurable global shortcut support. - @see KAccel - @see KAccelShortcutList + @see TDEAccel + @see TDEAccelShortcutList @see KKeyChooser @see KKeyDialog @@ -68,9 +68,9 @@ public class TDEGlobalAccel extends TQObject { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short Create an accelerator action. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native TDEAccelAction insert(String sAction, String sLabel, String sWhatsThis, TDEShortcut cutDef3, TDEShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -83,11 +83,11 @@ public class TDEGlobalAccel extends TQObject { displayed when the user configures shortcuts. @param sName of the of the action to insert @param sLabel a user-readable (i18n!) name for the action - @return the KAccelAction of the action + @return the TDEAccelAction of the action @short Use this to insert a label into the action list. */ - public native KAccelAction insert(String sName, String sLabel); + public native TDEAccelAction insert(String sName, String sLabel); /** Updates the connections of the accelerations after changing them. @return true if successful, false otherwise @@ -102,7 +102,7 @@ public class TDEGlobalAccel extends TQObject { @short Return the shortcut associated with the action named by <code>sAction.</code> */ - public native KShortcut shortcut(String sAction); + public native TDEShortcut shortcut(String sAction); /** Set the shortcut to be associated with the action named by <code>sAction.</code> @param sAction the name of the action @@ -111,7 +111,7 @@ public class TDEGlobalAccel extends TQObject { @short Set the shortcut to be associated with the action named by <code>sAction.</code> */ - public native boolean setShortcut(String sAction, KShortcut shortcut); + public native boolean setShortcut(String sAction, TDEShortcut shortcut); /** Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. @@ -193,7 +193,7 @@ public class TDEGlobalAccel extends TQObject { */ public native void disableBlocking(boolean disable); /** - KAccelActions.useFourModifierKeys(). + TDEAccelActions.useFourModifierKeys(). @short */ public static native boolean useFourModifierKeys(); diff --git a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java b/kdejava/koala/org/kde/koala/TDEGlobalSettings.java index d7d48321..af96ba44 100644 --- a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java +++ b/kdejava/koala/org/kde/koala/TDEGlobalSettings.java @@ -25,7 +25,7 @@ public class TDEGlobalSettings implements QtSupport { /** This enum describes the return type for insertTearOffHandle() whether to insert a handle or not. Applications who independently want to use handles in their popup menus - should test for Application level before calling the appropriate function in KPopupMenu. + should test for Application level before calling the appropriate function in TDEPopupMenu. @short This enum describes the return type for insertTearOffHandle() whether to insert a handle or not. */ public static final int Disable = 0; @@ -100,10 +100,10 @@ public class TDEGlobalSettings implements QtSupport { */ public static native boolean singleClick(); /** - Returns whether tear-off handles are inserted in KPopupMenus. - @return whether tear-off handles are inserted in KPopupMenus. + Returns whether tear-off handles are inserted in TDEPopupMenus. + @return whether tear-off handles are inserted in TDEPopupMenus. - @short Returns whether tear-off handles are inserted in KPopupMenus. + @short Returns whether tear-off handles are inserted in TDEPopupMenus. */ public static native int insertTearOffHandle(); /** @@ -299,13 +299,13 @@ public class TDEGlobalSettings implements QtSupport { */ public static native TQColor highlightColor(); /** - Returns the alternate background color used by KListView with - KListViewItem. Any other list that uses alternating background + Returns the alternate background color used by TDEListView with + TDEListViewItem. Any other list that uses alternating background colors should use this too, to obey to the user's preferences. Returns an invalid color if the user doesn't want alternating backgrounds. @return the alternate background color - @short Returns the alternate background color used by KListView with KListViewItem. + @short Returns the alternate background color used by TDEListView with TDEListViewItem. @see #calculateAlternateBackgroundColor */ public static native TQColor alternateBackgroundColor(); @@ -320,11 +320,11 @@ public class TDEGlobalSettings implements QtSupport { */ public static native TQColor calculateAlternateBackgroundColor(TQColor base); /** - Returns if the sorted column in a KListView shall be drawn with a + Returns if the sorted column in a TDEListView shall be drawn with a shaded background color. @return true if the sorted column shall be shaded - @short Returns if the sorted column in a KListView shall be drawn with a shaded background color. + @short Returns if the sorted column in a TDEListView shall be drawn with a shaded background color. */ public static native boolean shadeSortColumn(); /** diff --git a/kdejava/koala/org/kde/koala/TDEIO.java b/kdejava/koala/org/kde/koala/TDEIO.java index dbe92bf0..58956636 100644 --- a/kdejava/koala/org/kde/koala/TDEIO.java +++ b/kdejava/koala/org/kde/koala/TDEIO.java @@ -1170,7 +1170,7 @@ public class KIO { /** Returns the text to use for the Paste action, when the application supports pasting files, urls, and clipboard data, using pasteClipboard(). - @return a string suitable for KAction.setText, or an empty string if pasting + @return a string suitable for TDEAction.setText, or an empty string if pasting isn't possible right now. @short Returns the text to use for the Paste action, when the application supports pasting files, urls, and clipboard data, using pasteClipboard(). diff --git a/kdejava/koala/org/kde/koala/TDEListAction.java b/kdejava/koala/org/kde/koala/TDEListAction.java new file mode 100644 index 00000000..70605777 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEListAction.java @@ -0,0 +1,198 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; + +/** + + @short + +*/ +public class TDEListAction extends TDESelectAction { + protected TDEListAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a list action with text and potential keyboard + accelerator but nothing else. Use this only if you really + know what you are doing. + @param text The text that will be displayed. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short Constructs a list action with text and potential keyboard accelerator but nothing else. + */ + public TDEListAction(String text, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,cut,parent,name); + } + private native void newTDEListAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDEListAction(String text, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEListAction(text,cut,parent); + } + private native void newTDEListAction(String text, TDEShortcut cut, TQObject parent); + public TDEListAction(String text, TDEShortcut cut) { + super((Class) null); + newTDEListAction(text,cut); + } + private native void newTDEListAction(String text, TDEShortcut cut); + public TDEListAction(String text) { + super((Class) null); + newTDEListAction(text); + } + private native void newTDEListAction(String text); + /** + @param text The text that will be displayed. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,cut,receiver,slot,parent,name); + } + private native void newTDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEListAction(text,cut,receiver,slot,parent); + } + private native void newTDEListAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param text The text that will be displayed. + @param pix The icons that go with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,pix,cut,parent,name); + } + private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEListAction(text,pix,cut,parent); + } + private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDEListAction(String text, TQIconSet pix, TDEShortcut cut) { + super((Class) null); + newTDEListAction(text,pix,cut); + } + private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut); + public TDEListAction(String text, TQIconSet pix) { + super((Class) null); + newTDEListAction(text,pix); + } + private native void newTDEListAction(String text, TQIconSet pix); + /** + @param text The text that will be displayed. + @param pix The dynamically loaded icon that goes with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,pix,cut,parent,name); + } + private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDEListAction(String text, String pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDEListAction(text,pix,cut,parent); + } + private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDEListAction(String text, String pix, TDEShortcut cut) { + super((Class) null); + newTDEListAction(text,pix,cut); + } + private native void newTDEListAction(String text, String pix, TDEShortcut cut); + public TDEListAction(String text, String pix) { + super((Class) null); + newTDEListAction(text,pix); + } + private native void newTDEListAction(String text, String pix); + /** + @param text The text that will be displayed. + @param pix The icons that go with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEListAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEListAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param text The text that will be displayed. + @param pix The dynamically loaded icon that goes with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDEListAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDEListAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDEListAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDEListAction(TQObject parent, String name) { + super((Class) null); + newTDEListAction(parent,name); + } + private native void newTDEListAction(TQObject parent, String name); + public TDEListAction(TQObject parent) { + super((Class) null); + newTDEListAction(parent); + } + private native void newTDEListAction(TQObject parent); + public TDEListAction() { + super((Class) null); + newTDEListAction(); + } + private native void newTDEListAction(); + public native String currentText(); + public native int currentItem(); + /** + Sets the currently checked item. + @param index Index of the item (remember the first item is zero). + @short Sets the currently checked item. + */ + public native void setCurrentItem(int index); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KListBox.java b/kdejava/koala/org/kde/koala/TDEListBox.java index 2a666a09..f60c89f6 100644 --- a/kdejava/koala/org/kde/koala/KListBox.java +++ b/kdejava/koala/org/kde/koala/TDEListBox.java @@ -25,34 +25,34 @@ import org.kde.qt.TQListBox; mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects something connect to the TQListBox.selectionChanged() signal. - See {@link KListBoxSignals} for signals emitted by KListBox + See {@link TDEListBoxSignals} for signals emitted by TDEListBox @short A variant of TQListBox that honors KDE's system-wide settings. */ -public class KListBox extends TQListBox { - protected KListBox(Class dummy){super((Class) null);} +public class TDEListBox extends TQListBox { + protected TDEListBox(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); - public KListBox(TQWidget parent, String name, int f) { + public TDEListBox(TQWidget parent, String name, int f) { super((Class) null); - newKListBox(parent,name,f); + newTDEListBox(parent,name,f); } - private native void newKListBox(TQWidget parent, String name, int f); - public KListBox(TQWidget parent, String name) { + private native void newTDEListBox(TQWidget parent, String name, int f); + public TDEListBox(TQWidget parent, String name) { super((Class) null); - newKListBox(parent,name); + newTDEListBox(parent,name); } - private native void newKListBox(TQWidget parent, String name); - public KListBox(TQWidget parent) { + private native void newTDEListBox(TQWidget parent, String name); + public TDEListBox(TQWidget parent) { super((Class) null); - newKListBox(parent); + newTDEListBox(parent); } - private native void newKListBox(TQWidget parent); - public KListBox() { + private native void newTDEListBox(TQWidget parent); + public TDEListBox() { super((Class) null); - newKListBox(); + newTDEListBox(); } - private native void newKListBox(); + private native void newTDEListBox(); protected native void emitExecute(TQListBoxItem item, TQPoint pos); protected native void keyPressEvent(TQKeyEvent e); protected native void focusOutEvent(TQFocusEvent fe); diff --git a/kdejava/koala/org/kde/koala/KListBoxSignals.java b/kdejava/koala/org/kde/koala/TDEListBoxSignals.java index 86799fe6..167f7567 100644 --- a/kdejava/koala/org/kde/koala/KListBoxSignals.java +++ b/kdejava/koala/org/kde/koala/TDEListBoxSignals.java @@ -11,7 +11,7 @@ import org.kde.qt.TQKeyEvent; import org.kde.qt.TQEvent; import org.kde.qt.TQWidget; -public interface KListBoxSignals { +public interface TDEListBoxSignals { /** Emitted whenever the user executes an listbox item. That means depending on the KDE wide Single Click/Double Click diff --git a/kdejava/koala/org/kde/koala/KListView.java b/kdejava/koala/org/kde/koala/TDEListView.java index b4d5c645..129a3314 100644 --- a/kdejava/koala/org/kde/koala/KListView.java +++ b/kdejava/koala/org/kde/koala/TDEListView.java @@ -40,15 +40,15 @@ import org.kde.qt.TQListView; and connect it to a suitable slot. To see where you are dropping, setDropVisualizer(true). And also you'll need acceptDrag(TQDropEvent) - KListView is drag-enabled, too: to benefit from that you have to derive from it. + TDEListView is drag-enabled, too: to benefit from that you have to derive from it. Reimplement dragObject() and (possibly) startDrag(), and setDragEnabled(true). - See {@link KListViewSignals} for signals emitted by KListView + See {@link TDEListViewSignals} for signals emitted by TDEListView @short This Widget extends the functionality of TQListView to honor the system wide settings for Single Click/Double Click mode, AutoSelection and ChangeCursorOverLink (TM). */ -public class KListView extends TQListView { - protected KListView(Class dummy){super((Class) null);} +public class TDEListView extends TQListView { + protected TDEListView(Class dummy){super((Class) null);} /** Possible selection modes. The first four correspond directly to TQListView.SelectionMode, while @@ -127,21 +127,21 @@ public class KListView extends TQListView { TQListView, as usual. @short Constructor. */ - public KListView(TQWidget parent, String name) { + public TDEListView(TQWidget parent, String name) { super((Class) null); - newKListView(parent,name); + newTDEListView(parent,name); } - private native void newKListView(TQWidget parent, String name); - public KListView(TQWidget parent) { + private native void newTDEListView(TQWidget parent, String name); + public TDEListView(TQWidget parent) { super((Class) null); - newKListView(parent); + newTDEListView(parent); } - private native void newKListView(TQWidget parent); - public KListView() { + private native void newTDEListView(TQWidget parent); + public TDEListView() { super((Class) null); - newKListView(); + newTDEListView(); } - private native void newKListView(); + private native void newTDEListView(); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -325,7 +325,7 @@ public class KListView extends TQListView { public native void removeColumn(int index); /** sets the alternate background background color. - This only has an effect if the items are KListViewItems + This only has an effect if the items are TDEListViewItems @param c the color to use for every other item. Set to an invalid color to disable alternate colors. @short sets the alternate background background color. @@ -404,7 +404,7 @@ public class KListView extends TQListView { only the first column is renameable. Use this function to enable the feature on other columns. If you want more intelligent (dynamic) selection, - you'll have to derive from KListView, + you'll have to derive from TDEListView, and override rename() and call only call it if you want the item to be renamed. @short By default, if you called setItemsRenameable(true), only the first column is renameable. @@ -747,7 +747,7 @@ public class KListView extends TQListView { Emit the contextMenu signal. This slot is for key presses. @short Emit the contextMenu signal. */ - protected native void emitContextMenu(KListView arg1, TQListViewItem arg2); + protected native void emitContextMenu(TDEListView arg1, TQListViewItem arg2); /** Accessory slot for AutoSelect @short Accessory slot for AutoSelect diff --git a/kdejava/koala/org/kde/koala/TDEListViewItem.java b/kdejava/koala/org/kde/koala/TDEListViewItem.java new file mode 100644 index 00000000..1df19007 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEListViewItem.java @@ -0,0 +1,232 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQColor; +import org.kde.qt.TQListViewItem; +import org.kde.qt.QtSupport; +import org.kde.qt.TQListView; +import org.kde.qt.TQPainter; +import org.kde.qt.TQColorGroup; +import org.kde.qt.TQListViewItem; + +/** + + A listview item with support for alternate background colors. It is + a drop-in replacement for TQListViewItem + @short listview item with alternate background color support. + +*/ +public class TDEListViewItem extends TQListViewItem { + protected TDEListViewItem(Class dummy){super((Class) null);} + /** + constructors. The semantics remain as in TQListViewItem. + Although they accept a TQListViewItem as parent, please + don't mix TDEListViewItem (or subclasses) with TQListViewItem + (or subclasses). + @short constructors. + */ + public TDEListViewItem(TQListView parent) { + super((Class) null); + newTDEListViewItem(parent); + } + private native void newTDEListViewItem(TQListView parent); + public TDEListViewItem(TQListViewItem parent) { + super((Class) null); + newTDEListViewItem(parent); + } + private native void newTDEListViewItem(TQListViewItem parent); + public TDEListViewItem(TQListView parent, TQListViewItem after) { + super((Class) null); + newTDEListViewItem(parent,after); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after) { + super((Class) null); + newTDEListViewItem(parent,after); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); + public TDEListViewItem(TQListView parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3, String arg4); + public TDEListViewItem(TQListView parent, String arg2, String arg3) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3); + } + private native void newTDEListViewItem(TQListView parent, String arg2, String arg3); + public TDEListViewItem(TQListView parent, String arg2) { + super((Class) null); + newTDEListViewItem(parent,arg2); + } + private native void newTDEListViewItem(TQListView parent, String arg2); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3,arg4); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); + public TDEListViewItem(TQListViewItem parent, String arg2, String arg3) { + super((Class) null); + newTDEListViewItem(parent,arg2,arg3); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2, String arg3); + public TDEListViewItem(TQListViewItem parent, String arg2) { + super((Class) null); + newTDEListViewItem(parent,arg2); + } + private native void newTDEListViewItem(TQListViewItem parent, String arg2); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); + public TDEListViewItem(TQListView parent, TQListViewItem after, String arg3) { + super((Class) null); + newTDEListViewItem(parent,after,arg3); + } + private native void newTDEListViewItem(TQListView parent, TQListViewItem after, String arg3); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTDEListViewItem(parent,after,arg3,arg4); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); + public TDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { + super((Class) null); + newTDEListViewItem(parent,after,arg3); + } + private native void newTDEListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); + public native void insertItem(TQListViewItem item); + public native void takeItem(TQListViewItem item); + /** + returns true if this item is to be drawn with the alternate background + @short returns true if this item is to be drawn with the alternate background + */ + public native boolean isAlternate(); + /** + returns the background color for this item at given column + This can be different in the column which is sorted due to shading + ### could be merged with above (column = -1) to be source compatible + ### but will only work if sort-shading is not used or the listView has + ### only 1 column + @short returns the background color for this item at given column This can be different in the column which is sorted due to shading ### could be merged with above (column = -1) to be source compatible ### but will only work if sort-shading is not used or the listView has ### only 1 column + */ + public native TQColor backgroundColor(int column); + public native void paintCell(TQPainter p, TQColorGroup cg, int column, int width, int alignment); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KListViewSignals.java b/kdejava/koala/org/kde/koala/TDEListViewSignals.java index 76254966..3952296a 100644 --- a/kdejava/koala/org/kde/koala/KListViewSignals.java +++ b/kdejava/koala/org/kde/koala/TDEListViewSignals.java @@ -22,7 +22,7 @@ import org.kde.qt.TQWidget; import org.kde.qt.TQResizeEvent; import org.kde.qt.TQDragObject; -public interface KListViewSignals { +public interface TDEListViewSignals { /** This signal is emitted whenever the user executes an listview item. That means depending on the KDE wide Single Click/Double Click @@ -66,7 +66,7 @@ public interface KListViewSignals { the drop was above all items @short This signal gets emitted whenever something acceptable is dropped onto the listview. */ - void dropped(KListView list, TQDropEvent e, TQListViewItem after); + void dropped(TDEListView list, TQDropEvent e, TQListViewItem after); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -79,7 +79,7 @@ public interface KListViewSignals { the drop was above all items @short This signal gets emitted whenever something acceptable is dropped onto the listview. */ - void dropped(KListView list, TQDropEvent e, TQListViewItem parent, TQListViewItem after); + void dropped(TDEListView list, TQDropEvent e, TQListViewItem parent, TQListViewItem after); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -104,7 +104,7 @@ public interface KListViewSignals { Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting This is sent only once per each groups of moves. That is, for each - drop that is a move this will be emitted once, before KListView calls + drop that is a move this will be emitted once, before TDEListView calls @short Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting @see #moveItem */ @@ -139,13 +139,13 @@ public interface KListViewSignals { /** This signal is emitted when the shortcut key for popup-menus is pressed. Normally you should not use this, just connect a slot to signal - contextMenu (KListView, TQListViewItem, TQPoint) to correctly + contextMenu (TDEListView, TQListViewItem, TQPoint) to correctly handle showing context menus regardless of settings. @param list is this listview. @param item is the currentItem() at the time the key was pressed. May be null. @short This signal is emitted when the shortcut key for popup-menus is pressed. */ - void menuShortCutPressed(KListView list, TQListViewItem item); + void menuShortCutPressed(TDEListView list, TQListViewItem item); /** This signal is emitted whenever a context-menu should be shown for item <code>i.</code> It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click). @@ -154,7 +154,7 @@ public interface KListViewSignals { @param p is the point at which the menu should be shown. @short This signal is emitted whenever a context-menu should be shown for item <code>i.</code> */ - void contextMenu(KListView l, TQListViewItem i, TQPoint p); + void contextMenu(TDEListView l, TQListViewItem i, TQPoint p); void itemAdded(TQListViewItem item); void itemRemoved(TQListViewItem item); } diff --git a/kdejava/koala/org/kde/koala/KMainWindow.java b/kdejava/koala/org/kde/koala/TDEMainWindow.java index 7f2108a1..f7e132e1 100644 --- a/kdejava/koala/org/kde/koala/KMainWindow.java +++ b/kdejava/koala/org/kde/koala/TDEMainWindow.java @@ -22,21 +22,21 @@ import org.kde.qt.TQMainWindow; It should be used as a top level (parent-less) widget. It manages the geometry for all its children, including your main widget. - Normally, you will inherit from KMainWindow, + Normally, you will inherit from TDEMainWindow, then construct (or use some existing) widget as your main view. You can set only one main view. You can add as many toolbars as you like. There can be only one menubar and only one statusbar. The toolbars, menubar, and statusbar can be created by the - KMainWindow and - unlike the old KMainWindow - may, but do not - have to, be deleted by you. KMainWindow will handle that internally. + TDEMainWindow and - unlike the old TDEMainWindow - may, but do not + have to, be deleted by you. TDEMainWindow will handle that internally. Height and width can be operated independently from each other. Simply define the minimum/maximum height/width of your main widget and - KMainWindow will take this into account. For fixed size windows set + TDEMainWindow will take this into account. For fixed size windows set your main widget to a fixed size. Fixed aspect ratios (heightForWidth()) and fixed width widgets are not supported. - KMainWindow will set icon, mini icon and caption, which it gets + TDEMainWindow will set icon, mini icon and caption, which it gets from TDEApplication. It provides full session management, and will save its position, geometry and positions of toolbars and menubar on logout. If you want to save additional data, reimplement @@ -47,7 +47,7 @@ import org.kde.qt.TQMainWindow; queryClose() and/or queryExit(). There are also kRestoreMainWindows convenience functions which can restore all your windows on next login. - Note that a KMainWindow per-default is created with the + Note that a TDEMainWindow per-default is created with the WDestructiveClose flag, i.e. it is automatically destroyed when the window is closed. If you do not want this behavior, specify 0 as widget flag in the constructor. @@ -57,15 +57,15 @@ import org.kde.qt.TQMainWindow; @see TDEApplication */ -public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { - protected KMainWindow(Class dummy){super((Class) null);} +public class TDEMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { + protected TDEMainWindow(Class dummy){super((Class) null);} /** Flags that can be passed in an argument to the constructor to change the behavior. - NoDCOPObject tells KMainWindow not to create a KMainWindowInterface. + NoDCOPObject tells TDEMainWindow not to create a TDEMainWindowInterface. This can be useful in particular for inherited classes, which might want to create more specific dcop interfaces. It's a good - idea to use KMainWindowInterface as the base class for such interfaces + idea to use TDEMainWindowInterface as the base class for such interfaces though (to provide the standard mainwindow functionality via DCOP). @short Flags that can be passed in an argument to the constructor to change the behavior. */ @@ -86,14 +86,14 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface /** Construct a main window. @param parent The widget parent. This is usually 0 but it may also be the window - group leader. In that case, the KMainWindow becomes sort of a + group leader. In that case, the TDEMainWindow becomes sort of a secondary window. @param name The object name. For session management and window management to work properly, all main windows in the application should have a - different name. When passing 0 (the default), KMainWindow will create + different name. When passing 0 (the default), TDEMainWindow will create a unique name, but it's recommended to explicitly pass a window name that will also describe the type of the window. If there can be several windows of the same - type, append '#' (hash) to the name, and KMainWindow will append numbers to make + type, append '#' (hash) to the name, and TDEMainWindow will append numbers to make the names unique. For example, for a mail client which has one main window showing the mails and folders, and which can also have one or more windows for composing mails, the name for the folders window should be e.g. "mainwindow" and @@ -104,57 +104,57 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface parent or not. DestructiveClose indicates that a main window is automatically destroyed when its window is closed. Pass 0 if you do not want this behavior. - KMainWindows must be created on the heap with 'new', like: + TDEMainWindows must be created on the heap with 'new', like: <pre> - KMainWindow kmw = new KMainWindow (...); + TDEMainWindow kmw = new TDEMainWindow (...); </pre> @short Construct a main window. @see #http://doc#trolltech#com/3#2/qt#html#WidgetFlags-enum */ - public KMainWindow(TQWidget parent, String name, int f) { + public TDEMainWindow(TQWidget parent, String name, int f) { super((Class) null); - newKMainWindow(parent,name,f); + newTDEMainWindow(parent,name,f); } - private native void newKMainWindow(TQWidget parent, String name, int f); - public KMainWindow(TQWidget parent, String name) { + private native void newTDEMainWindow(TQWidget parent, String name, int f); + public TDEMainWindow(TQWidget parent, String name) { super((Class) null); - newKMainWindow(parent,name); + newTDEMainWindow(parent,name); } - private native void newKMainWindow(TQWidget parent, String name); - public KMainWindow(TQWidget parent) { + private native void newTDEMainWindow(TQWidget parent, String name); + public TDEMainWindow(TQWidget parent) { super((Class) null); - newKMainWindow(parent); + newTDEMainWindow(parent); } - private native void newKMainWindow(TQWidget parent); - public KMainWindow() { + private native void newTDEMainWindow(TQWidget parent); + public TDEMainWindow() { super((Class) null); - newKMainWindow(); + newTDEMainWindow(); } - private native void newKMainWindow(); + private native void newTDEMainWindow(); /** - Overloaded constructor which allows passing some KMainWindow.CreationFlags. - @short Overloaded constructor which allows passing some KMainWindow.CreationFlags. + Overloaded constructor which allows passing some TDEMainWindow.CreationFlags. + @short Overloaded constructor which allows passing some TDEMainWindow.CreationFlags. */ - public KMainWindow(int cflags, TQWidget parent, String name, int f) { + public TDEMainWindow(int cflags, TQWidget parent, String name, int f) { super((Class) null); - newKMainWindow(cflags,parent,name,f); + newTDEMainWindow(cflags,parent,name,f); } - private native void newKMainWindow(int cflags, TQWidget parent, String name, int f); - public KMainWindow(int cflags, TQWidget parent, String name) { + private native void newTDEMainWindow(int cflags, TQWidget parent, String name, int f); + public TDEMainWindow(int cflags, TQWidget parent, String name) { super((Class) null); - newKMainWindow(cflags,parent,name); + newTDEMainWindow(cflags,parent,name); } - private native void newKMainWindow(int cflags, TQWidget parent, String name); - public KMainWindow(int cflags, TQWidget parent) { + private native void newTDEMainWindow(int cflags, TQWidget parent, String name); + public TDEMainWindow(int cflags, TQWidget parent) { super((Class) null); - newKMainWindow(cflags,parent); + newTDEMainWindow(cflags,parent); } - private native void newKMainWindow(int cflags, TQWidget parent); - public KMainWindow(int cflags) { + private native void newTDEMainWindow(int cflags, TQWidget parent); + public TDEMainWindow(int cflags) { super((Class) null); - newKMainWindow(cflags); + newTDEMainWindow(cflags); } - private native void newKMainWindow(int cflags); + private native void newTDEMainWindow(int cflags); /** Retrieve the standard help menu. It contains entires for the @@ -163,7 +163,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface and an "About KDE" dialog box. Example (adding a standard help menu to your application): <pre> - KPopupMenu help = helpMenu( <myTextString> ); + TDEPopupMenu help = helpMenu( <myTextString> ); menuBar().insertItem( i18n("&Help"), help ); </pre> @param aboutAppText The string that is used in the application @@ -176,9 +176,9 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface @short Retrieve the standard help menu. */ - public native KPopupMenu helpMenu(String aboutAppText, boolean showWhatsThis); - public native KPopupMenu helpMenu(String aboutAppText); - public native KPopupMenu helpMenu(); + public native TDEPopupMenu helpMenu(String aboutAppText, boolean showWhatsThis); + public native TDEPopupMenu helpMenu(String aboutAppText); + public native TDEPopupMenu helpMenu(); /** Returns the help menu. Creates a standard help menu if none exists yet. It contains entries for the @@ -199,8 +199,8 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface @short Returns the help menu. */ - public native KPopupMenu customHelpMenu(boolean showWhatsThis); - public native KPopupMenu customHelpMenu(); + public native TDEPopupMenu customHelpMenu(boolean showWhatsThis); + public native TDEPopupMenu customHelpMenu(); /** Reimplementation of TQMainWindow.show() @short Reimplementation of TQMainWindow.show() @@ -271,9 +271,9 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface If there is no status bar yet, one will be created. Note that tooltips for kactions in actionCollection() are not automatically connected to this statusBar. - See the KActionCollection documentation for more details. + See the TDEActionCollection documentation for more details. @short Returns a pointer to the status bar. - @see KActionCollection + @see TDEActionCollection */ public native KStatusBar kstatusBar(); /** @@ -286,21 +286,21 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface @short Returns a pointer to the toolbar with the specified name. */ - public native KToolBar toolBar(String name); - public native KToolBar toolBar(); + public native TDEToolBar toolBar(String name); + public native TDEToolBar toolBar(); /** @return An iterator over the list of all toolbars for this window. @short */ - // TQPtrListIterator<KToolBar> toolBarIterator(); >>>> NOT CONVERTED + // TQPtrListIterator<TDEToolBar> toolBarIterator(); >>>> NOT CONVERTED /** - @return A KAccel instance bound to this mainwindow. Used automatically - by KAction to make keybindings work in all cases. + @return A TDEAccel instance bound to this mainwindow. Used automatically + by TDEAction to make keybindings work in all cases. @short */ - public native KAccel accel(); + public native TDEAccel accel(); public native void setFrameBorderWidth(int arg1); /** Call this to enable "auto-save" of toolbar/menubar/statusbar settings @@ -312,10 +312,10 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface @param saveWindowSize set it to true to include the window size when saving. Typically, you will call setAutoSaveSettings() in your - KMainWindow-inherited class constructor, and it will take care + TDEMainWindow-inherited class constructor, and it will take care of restoring and saving automatically. Make sure you call this _after all_ your bars have been created. - To make sure that KMainWindow propertly obtains the default + To make sure that TDEMainWindow propertly obtains the default size of the window you should do the following: - Remove hard coded resize() calls in the constructor or main, they should be removed in favor of letting the automatic resizing @@ -378,8 +378,8 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface public native void saveMainWindowSettings(TDEConfig config, String groupName); public native void saveMainWindowSettings(TDEConfig config); /** - Sets whether KMainWindow should provide a menu that allows showing/hiding - the available toolbars ( using KToggleToolBarAction ) . In case there + Sets whether TDEMainWindow should provide a menu that allows showing/hiding + the available toolbars ( using TDEToggleToolBarAction ) . In case there is only one toolbar configured a simple 'Show \<toolbar name here\>' menu item is shown. The menu / menu item is implemented using xmlgui. It will be inserted in your @@ -390,26 +390,26 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface line to the settings menu section of your resource file ( usually appname.rc ). Note that you should enable this feature before calling createGUI() ( or similar ) . You enable/disable it anytime if you pass false to the conserveMemory argument of createGUI. - @short Sets whether KMainWindow should provide a menu that allows showing/hiding the available toolbars ( using KToggleToolBarAction ) . + @short Sets whether TDEMainWindow should provide a menu that allows showing/hiding the available toolbars ( using TDEToggleToolBarAction ) . */ public native void setStandardToolBarMenuEnabled(boolean enable); public native boolean isStandardToolBarMenuEnabled(); /** - Sets whether KMainWindow should provide a menu that allows showing/hiding - of the statusbar ( using KToggleStatusBarAction ). + Sets whether TDEMainWindow should provide a menu that allows showing/hiding + of the statusbar ( using TDEToggleStatusBarAction ). The menu / menu item is implemented using xmlgui. It will be inserted in your menu structure in the 'Settings' menu. Note that you should enable this feature before calling createGUI() ( or similar ). If an application maintains the action on its own (i.e. never calls - this function) a connection needs to be made to let KMainWindow + this function) a connection needs to be made to let TDEMainWindow know when that status (hidden/shown) of the statusbar has changed. For example: connect(action, SIGNAL("activated()"), kmainwindow, SLOT("setSettingsDirty()")); Otherwise the status (hidden/show) of the statusbar might not be saved - by KMainWindow. - @short Sets whether KMainWindow should provide a menu that allows showing/hiding of the statusbar ( using KToggleStatusBarAction ). + by TDEMainWindow. + @short Sets whether TDEMainWindow should provide a menu that allows showing/hiding of the statusbar ( using TDEToggleStatusBarAction ). */ public native void createStandardStatusBarAction(); /** @@ -439,7 +439,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface Returns a pointer to the mainwindows action responsible for the toolbars menu @short Returns a pointer to the mainwindows action responsible for the toolbars menu */ - public native KAction toolBarMenuAction(); + public native TDEAction toolBarMenuAction(); /** @short */ @@ -551,7 +551,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface <pre> if (kapp.isRestored()){ int n = 1; - while (KMainWindow.canBeRestored(n)){ + while (TDEMainWindow.canBeRestored(n)){ (new childMW).restore(n); n++; } @@ -563,7 +563,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface With this you can easily restore all toplevel windows of your application. If your application uses different kinds of toplevel - windows, then you can use KMainWindow.classNameOfToplevel(n) + windows, then you can use TDEMainWindow.classNameOfToplevel(n) to determine the exact type before calling the childMW constructor in the example from above. If your client has only one kind of toplevel widgets (which @@ -579,7 +579,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface The macro expands to the term above but is easier to use and less code to write. For new code or if you have more than one kind of toplevel - widget (each derived from KMainWindow, of course), you can + widget (each derived from TDEMainWindow, of course), you can use the templated kRestoreMainWindows global functions: <pre> if (kapp.isRestored()) @@ -606,10 +606,10 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface */ public static native String classNameOfToplevel(int number); /** - List of members of KMainWindow class. - @short List of members of KMainWindow class. + List of members of TDEMainWindow class. + @short List of members of TDEMainWindow class. */ - // TQPtrList<KMainWindow>* getMemberList(); >>>> NOT CONVERTED + // TQPtrList<TDEMainWindow>* getMemberList(); >>>> NOT CONVERTED protected native void paintEvent(TQPaintEvent e); protected native void childEvent(TQChildEvent e); protected native void resizeEvent(TQResizeEvent e); @@ -681,7 +681,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface invoked when the session manager requests your application to save its state. You <b>must</b> <b>not</b> change the group of the <code>tdeconfig</code> object, since - KMainWindow uses one group for each window. Please + TDEMainWindow uses one group for each window. Please reimplement these function in childclasses. Note: No user interaction is allowed in this function! @@ -828,25 +828,25 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface to get the action object. @short Retrieves an action of the client by name. */ - public native KAction action(String name); + public native TDEAction action(String name); /** Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. @short Retrieves an action for a given TQDomElement. */ - public native KAction action(TQDomElement element); + public native TDEAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( TQWidget ) with this object, or - you will encounter subtle bugs with KAction keyboard shortcuts. - This is not necessary if your KXMLGUIClient is a KMainWindow. + TDEActionCollection.setWidget( TQWidget ) with this object, or + you will encounter subtle bugs with TDEAction keyboard shortcuts. + This is not necessary if your KXMLGUIClient is a TDEMainWindow. @short Retrieves the entire action collection for the GUI client. - @see KActionCollection#setWidget( + @see TDEActionCollection#setWidget( @see org.kde.qt.TQWidget* */ - public native KActionCollection actionCollection(); + public native TDEActionCollection actionCollection(); /** @return The instance ( TDEInstance ) for this GUI client. @@ -969,7 +969,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - TQPtrList<KAction> file_actions; + TQPtrList<TDEAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -985,7 +985,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<TDEAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . @@ -1058,7 +1058,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface protected native void stateChanged(String newstate, int reverse); protected native void stateChanged(String newstate); /** - List of members of KMainWindow class. + List of members of TDEMainWindow class. */ public native ArrayList memberList(); @@ -1068,8 +1068,8 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface try { savedClass = Class.forName(typeName); int n = 1; - while (KMainWindow.canBeRestored(n)){ - ((KMainWindow) savedClass.newInstance()).restore(n); + while (TDEMainWindow.canBeRestored(n)){ + ((TDEMainWindow) savedClass.newInstance()).restore(n); n++; } } catch(Exception e) { diff --git a/kdejava/koala/org/kde/koala/KPasteTextAction.java b/kdejava/koala/org/kde/koala/TDEPasteTextAction.java index 20ebb27d..76a8fd24 100644 --- a/kdejava/koala/org/kde/koala/KPasteTextAction.java +++ b/kdejava/koala/org/kde/koala/TDEPasteTextAction.java @@ -18,12 +18,12 @@ import org.kde.qt.TQWidget; @short An action for pasting text from the clipboard. */ -public class KPasteTextAction extends KAction { - protected KPasteTextAction(Class dummy){super((Class) null);} +public class TDEPasteTextAction extends TDEAction { + protected TDEPasteTextAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Create a KPasteTextAction, with a text, an icon, an accelerator, + Create a TDEPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. If you do not want or have a keyboard accelerator, set the <code>cut</code> param to 0. @@ -34,23 +34,23 @@ public class KPasteTextAction extends KAction { @param slot The SLOT to invoke to execute this action. @param parent This action's parent. @param name An internal name for this action. - @short Create a KPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. + @short Create a TDEPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. */ - public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKPasteTextAction(text,icon,cut,receiver,slot,parent,name); + newTDEPasteTextAction(text,icon,cut,receiver,slot,parent,name); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKPasteTextAction(text,icon,cut,receiver,slot,parent); + newTDEPasteTextAction(text,icon,cut,receiver,slot,parent); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent); - public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot) { + private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + public TDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot) { super((Class) null); - newKPasteTextAction(text,icon,cut,receiver,slot); + newTDEPasteTextAction(text,icon,cut,receiver,slot); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot); + private native void newTDEPasteTextAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot); /** Controls the behavior of the clipboard history menu popup. @param mode If false and the clipboard contains a non-text object diff --git a/kdejava/koala/org/kde/koala/KPopupFrame.java b/kdejava/koala/org/kde/koala/TDEPopupFrame.java index 981649b6..9d80bbd9 100644 --- a/kdejava/koala/org/kde/koala/KPopupFrame.java +++ b/kdejava/koala/org/kde/koala/TDEPopupFrame.java @@ -20,29 +20,29 @@ import org.kde.qt.TQFrame; @short Frame with popup menu behavior. */ -public class KPopupFrame extends TQFrame { - protected KPopupFrame(Class dummy){super((Class) null);} +public class TDEPopupFrame extends TQFrame { + protected TDEPopupFrame(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** The contructor. Creates a dialog without buttons. @short The contructor. */ - public KPopupFrame(TQWidget parent, String name) { + public TDEPopupFrame(TQWidget parent, String name) { super((Class) null); - newKPopupFrame(parent,name); + newTDEPopupFrame(parent,name); } - private native void newKPopupFrame(TQWidget parent, String name); - public KPopupFrame(TQWidget parent) { + private native void newTDEPopupFrame(TQWidget parent, String name); + public TDEPopupFrame(TQWidget parent) { super((Class) null); - newKPopupFrame(parent); + newTDEPopupFrame(parent); } - private native void newKPopupFrame(TQWidget parent); - public KPopupFrame() { + private native void newTDEPopupFrame(TQWidget parent); + public TDEPopupFrame() { super((Class) null); - newKPopupFrame(); + newTDEPopupFrame(); } - private native void newKPopupFrame(); + private native void newTDEPopupFrame(); /** Set the main widget. You cannot set the main widget from the constructor, since it must be a child of the frame itselfes. diff --git a/kdejava/koala/org/kde/koala/KPopupMenu.java b/kdejava/koala/org/kde/koala/TDEPopupMenu.java index 75043bdf..8fe4d9ab 100644 --- a/kdejava/koala/org/kde/koala/KPopupMenu.java +++ b/kdejava/koala/org/kde/koala/TDEPopupMenu.java @@ -17,7 +17,7 @@ import org.kde.qt.TQPopupMenu; /** - KPopupMenu is a class for menus with standard title items and keyboard + TDEPopupMenu is a class for menus with standard title items and keyboard accessibility for popups with many options and/or varying options. It acts identically to TQPopupMenu, with the addition of insertTitle(), changeTitle(), setKeyboardShortcutsEnabled() and @@ -26,35 +26,35 @@ import org.kde.qt.TQPopupMenu; colors, and background pixmaps. The keyboard search algorithm is incremental with additional underlining for user feedback. - See {@link KPopupMenuSignals} for signals emitted by KPopupMenu + See {@link TDEPopupMenuSignals} for signals emitted by TDEPopupMenu @author Hamish Rodda <rodda@kde.org> @short A menu with title items. */ -public class KPopupMenu extends TQPopupMenu { - protected KPopupMenu(Class dummy){super((Class) null);} +public class TDEPopupMenu extends TQPopupMenu { + protected TDEPopupMenu(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Constructs a KPopupMenu. - @short Constructs a KPopupMenu. + Constructs a TDEPopupMenu. + @short Constructs a TDEPopupMenu. */ - public KPopupMenu(TQWidget parent, String name) { + public TDEPopupMenu(TQWidget parent, String name) { super((Class) null); - newKPopupMenu(parent,name); + newTDEPopupMenu(parent,name); } - private native void newKPopupMenu(TQWidget parent, String name); - public KPopupMenu(TQWidget parent) { + private native void newTDEPopupMenu(TQWidget parent, String name); + public TDEPopupMenu(TQWidget parent) { super((Class) null); - newKPopupMenu(parent); + newTDEPopupMenu(parent); } - private native void newKPopupMenu(TQWidget parent); - public KPopupMenu() { + private native void newTDEPopupMenu(TQWidget parent); + public TDEPopupMenu() { super((Class) null); - newKPopupMenu(); + newTDEPopupMenu(); } - private native void newKPopupMenu(); + private native void newTDEPopupMenu(); /** Inserts a title item with no icon. @short Inserts a title item with no icon. @@ -133,10 +133,10 @@ public class KPopupMenu extends TQPopupMenu { */ public native int state(); /** - Returns the KPopupMenu associated with the current context menu - @short Returns the KPopupMenu associated with the current context menu + Returns the TDEPopupMenu associated with the current context menu + @short Returns the TDEPopupMenu associated with the current context menu */ - public static native KPopupMenu contextMenuFocus(); + public static native TDEPopupMenu contextMenuFocus(); /** returns the ID of the menuitem associated with the current context menu @short returns the ID of the menuitem associated with the current context menu diff --git a/kdejava/koala/org/kde/koala/KPopupMenuSignals.java b/kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java index 1a7a9d59..0a117bdf 100644 --- a/kdejava/koala/org/kde/koala/KPopupMenuSignals.java +++ b/kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java @@ -13,7 +13,7 @@ import org.kde.qt.TQMouseEvent; import org.kde.qt.TQKeyEvent; import org.kde.qt.TQWidget; -public interface KPopupMenuSignals { +public interface TDEPopupMenuSignals { /** connect to this signal to be notified when a context menu is about to be shown @param menu The menu that the context menu is about to be shown for @@ -21,5 +21,5 @@ public interface KPopupMenuSignals { @param ctxMenu The context menu itself @short connect to this signal to be notified when a context menu is about to be shown */ - void aboutToShowContextMenu(KPopupMenu menu, int menuItem, TQPopupMenu ctxMenu); + void aboutToShowContextMenu(TDEPopupMenu menu, int menuItem, TQPopupMenu ctxMenu); } diff --git a/kdejava/koala/org/kde/koala/KPopupTitle.java b/kdejava/koala/org/kde/koala/TDEPopupTitle.java index f6bd880d..2f9a38f0 100644 --- a/kdejava/koala/org/kde/koala/KPopupTitle.java +++ b/kdejava/koala/org/kde/koala/TDEPopupTitle.java @@ -12,17 +12,17 @@ import org.kde.qt.TQWidget; /** - Title widget for use in KPopupMenu. + Title widget for use in TDEPopupMenu. You usually don't have to create this manually since - KPopupMenu.insertTitle will do it for you, but it is allowed if + TDEPopupMenu.insertTitle will do it for you, but it is allowed if you wish to customize it's look. @author Daniel M. Duley <mosfet@kde.org> - @short KPopupMenu title widget. + @short TDEPopupMenu title widget. */ -public class KPopupTitle extends TQWidget { - protected KPopupTitle(Class dummy){super((Class) null);} +public class TDEPopupTitle extends TQWidget { + protected TDEPopupTitle(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -30,21 +30,21 @@ public class KPopupTitle extends TQWidget { and colors. @short Constructs a title widget with the user specified gradient, pixmap, and colors. */ - public KPopupTitle(TQWidget parent, String name) { + public TDEPopupTitle(TQWidget parent, String name) { super((Class) null); - newKPopupTitle(parent,name); + newTDEPopupTitle(parent,name); } - private native void newKPopupTitle(TQWidget parent, String name); - public KPopupTitle(TQWidget parent) { + private native void newTDEPopupTitle(TQWidget parent, String name); + public TDEPopupTitle(TQWidget parent) { super((Class) null); - newKPopupTitle(parent); + newTDEPopupTitle(parent); } - private native void newKPopupTitle(TQWidget parent); - public KPopupTitle() { + private native void newTDEPopupTitle(TQWidget parent); + public TDEPopupTitle() { super((Class) null); - newKPopupTitle(); + newTDEPopupTitle(); } - private native void newKPopupTitle(); + private native void newTDEPopupTitle(); /** Sets the title string and optional icon for the title widget. You will want to call this before inserting into a menu. diff --git a/kdejava/koala/org/kde/koala/TDERadioAction.java b/kdejava/koala/org/kde/koala/TDERadioAction.java new file mode 100644 index 00000000..1e9f1ebf --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDERadioAction.java @@ -0,0 +1,193 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; + +/** + + An action that operates like a radio button. At any given time + only a single action from the group will be active. + @short Radiobox like action. + +*/ +public class TDERadioAction extends TDEToggleAction { + protected TDERadioAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a radio action with text and potential keyboard + accelerator but nothing else. Use this only if you really + know what you are doing. + @param text The text that will be displayed. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short Constructs a radio action with text and potential keyboard accelerator but nothing else. + */ + public TDERadioAction(String text, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,cut,parent,name); + } + private native void newTDERadioAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDERadioAction(String text, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDERadioAction(text,cut,parent); + } + private native void newTDERadioAction(String text, TDEShortcut cut, TQObject parent); + public TDERadioAction(String text, TDEShortcut cut) { + super((Class) null); + newTDERadioAction(text,cut); + } + private native void newTDERadioAction(String text, TDEShortcut cut); + public TDERadioAction(String text) { + super((Class) null); + newTDERadioAction(text); + } + private native void newTDERadioAction(String text); + /** + @param text The text that will be displayed. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,cut,receiver,slot,parent,name); + } + private native void newTDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDERadioAction(text,cut,receiver,slot,parent); + } + private native void newTDERadioAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param text The text that will be displayed. + @param pix The icons that go with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,pix,cut,parent,name); + } + private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDERadioAction(text,pix,cut,parent); + } + private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut) { + super((Class) null); + newTDERadioAction(text,pix,cut); + } + private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut); + public TDERadioAction(String text, TQIconSet pix) { + super((Class) null); + newTDERadioAction(text,pix); + } + private native void newTDERadioAction(String text, TQIconSet pix); + /** + @param text The text that will be displayed. + @param pix The dynamically loaded icon that goes with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,pix,cut,parent,name); + } + private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent) { + super((Class) null); + newTDERadioAction(text,pix,cut,parent); + } + private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDERadioAction(String text, String pix, TDEShortcut cut) { + super((Class) null); + newTDERadioAction(text,pix,cut); + } + private native void newTDERadioAction(String text, String pix, TDEShortcut cut); + public TDERadioAction(String text, String pix) { + super((Class) null); + newTDERadioAction(text,pix); + } + private native void newTDERadioAction(String text, String pix); + /** + @param text The text that will be displayed. + @param pix The icons that go with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDERadioAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDERadioAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param text The text that will be displayed. + @param pix The dynamically loaded icon that goes with this action. + @param cut The corresponding keyboard accelerator (shortcut). + @param receiver The SLOT's parent. + @param slot The SLOT to invoke to execute this action. + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + super((Class) null); + newTDERadioAction(text,pix,cut,receiver,slot,parent,name); + } + private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { + super((Class) null); + newTDERadioAction(text,pix,cut,receiver,slot,parent); + } + private native void newTDERadioAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); + /** + @param parent This action's parent. + @param name An internal name for this action. + @short + */ + public TDERadioAction(TQObject parent, String name) { + super((Class) null); + newTDERadioAction(parent,name); + } + private native void newTDERadioAction(TQObject parent, String name); + public TDERadioAction(TQObject parent) { + super((Class) null); + newTDERadioAction(parent); + } + private native void newTDERadioAction(TQObject parent); + public TDERadioAction() { + super((Class) null); + newTDERadioAction(); + } + private native void newTDERadioAction(); + protected native void slotActivated(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/KRecentDocument.java b/kdejava/koala/org/kde/koala/TDERecentDocument.java index 93220ea8..3b85b68d 100644 --- a/kdejava/koala/org/kde/koala/KRecentDocument.java +++ b/kdejava/koala/org/kde/koala/TDERecentDocument.java @@ -22,15 +22,15 @@ import java.util.ArrayList; @short Manage the "Recent Document Menu" entries displayed by applications such as Kicker and Konqueror. */ -public class KRecentDocument implements QtSupport { +public class TDERecentDocument implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KRecentDocument(Class dummy){} + protected TDERecentDocument(Class dummy){} - public KRecentDocument() { - newKRecentDocument(); + public TDERecentDocument() { + newTDERecentDocument(); } - private native void newKRecentDocument(); + private native void newTDERecentDocument(); /** Return a list of absolute paths to recent document .desktop files, sorted by date. diff --git a/kdejava/koala/org/kde/koala/KRecentFilesAction.java b/kdejava/koala/org/kde/koala/TDERecentFilesAction.java index e0b08766..b3232290 100644 --- a/kdejava/koala/org/kde/koala/KRecentFilesAction.java +++ b/kdejava/koala/org/kde/koala/TDERecentFilesAction.java @@ -14,14 +14,14 @@ import org.kde.qt.TQWidget; The best way to create the action is to use KStdAction.openRecent. Then you simply need to call loadEntries on startup, saveEntries on shutdown, addURL when your application loads/saves a file. - See {@link KRecentFilesActionSignals} for signals emitted by KRecentFilesAction + See {@link TDERecentFilesActionSignals} for signals emitted by TDERecentFilesAction @author Michael Koch @short Recent files action. */ -public class KRecentFilesAction extends KListAction { - protected KRecentFilesAction(Class dummy){super((Class) null);} +public class TDERecentFilesAction extends TDEListAction { + protected TDERecentFilesAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -32,21 +32,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, KShortcut cut, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,cut,parent,name,maxItems); + newTDERecentFilesAction(text,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, KShortcut cut, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,cut,parent,name); + newTDERecentFilesAction(text,cut,parent,name); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent, String name); - public KRecentFilesAction(String text, KShortcut cut, TQObject parent) { + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,cut,parent); + newTDERecentFilesAction(text,cut,parent); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent); + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param cut The corresponding keyboard accelerator (shortcut). @@ -58,21 +58,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,cut,receiver,slot,parent,name,maxItems); + newTDERecentFilesAction(text,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,cut,receiver,slot,parent,name); + newTDERecentFilesAction(text,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,cut,receiver,slot,parent); + newTDERecentFilesAction(text,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDERecentFilesAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -82,21 +82,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent,name,maxItems); + newTDERecentFilesAction(text,pix,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent,name); + newTDERecentFilesAction(text,pix,cut,parent,name); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent); + newTDERecentFilesAction(text,pix,cut,parent); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -106,21 +106,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent,name,maxItems); + newTDERecentFilesAction(text,pix,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent,name); + newTDERecentFilesAction(text,pix,cut,parent,name); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent) { + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,pix,cut,parent); + newTDERecentFilesAction(text,pix,cut,parent); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent); + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -133,21 +133,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDERecentFilesAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -160,47 +160,47 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKRecentFilesAction(text,pix,cut,receiver,slot,parent); + newTDERecentFilesAction(text,pix,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDERecentFilesAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(TQObject parent, String name, int maxItems) { + public TDERecentFilesAction(TQObject parent, String name, int maxItems) { super((Class) null); - newKRecentFilesAction(parent,name,maxItems); + newTDERecentFilesAction(parent,name,maxItems); } - private native void newKRecentFilesAction(TQObject parent, String name, int maxItems); - public KRecentFilesAction(TQObject parent, String name) { + private native void newTDERecentFilesAction(TQObject parent, String name, int maxItems); + public TDERecentFilesAction(TQObject parent, String name) { super((Class) null); - newKRecentFilesAction(parent,name); + newTDERecentFilesAction(parent,name); } - private native void newKRecentFilesAction(TQObject parent, String name); - public KRecentFilesAction(TQObject parent) { + private native void newTDERecentFilesAction(TQObject parent, String name); + public TDERecentFilesAction(TQObject parent) { super((Class) null); - newKRecentFilesAction(parent); + newTDERecentFilesAction(parent); } - private native void newKRecentFilesAction(TQObject parent); - public KRecentFilesAction() { + private native void newTDERecentFilesAction(TQObject parent); + public TDERecentFilesAction() { super((Class) null); - newKRecentFilesAction(); + newTDERecentFilesAction(); } - private native void newKRecentFilesAction(); + private native void newTDERecentFilesAction(); public native int plug(TQWidget widget, int index); public native int plug(TQWidget widget); /** diff --git a/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java b/kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java index cac11f11..bd492c1c 100644 --- a/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java +++ b/kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java @@ -7,7 +7,7 @@ import org.kde.qt.TQObject; import org.kde.qt.TQIconSet; import org.kde.qt.TQWidget; -public interface KRecentFilesActionSignals { +public interface TDERecentFilesActionSignals { /** This signal gets emited when the user selects an URL. @param url The URL thats the user selected. diff --git a/kdejava/koala/org/kde/koala/KSelectAction.java b/kdejava/koala/org/kde/koala/TDESelectAction.java index cf779ef8..234a65f7 100644 --- a/kdejava/koala/org/kde/koala/KSelectAction.java +++ b/kdejava/koala/org/kde/koala/TDESelectAction.java @@ -18,12 +18,12 @@ import org.kde.qt.TQWidget; this item will automatically be checked, the formerly checked item becomes unchecked. There can be only one item checked at a time. - See {@link KSelectActionSignals} for signals emitted by KSelectAction + See {@link TDESelectActionSignals} for signals emitted by TDESelectAction @short Action for selecting one of several items. */ -public class KSelectAction extends KAction { - protected KSelectAction(Class dummy){super((Class) null);} +public class TDESelectAction extends TDEAction { + protected TDESelectAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -36,26 +36,26 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short Constructs a select action with text and potential keyboard accelerator but nothing else. */ - public KSelectAction(String text, KShortcut cut, TQObject parent, String name) { + public TDESelectAction(String text, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,cut,parent,name); + newTDESelectAction(text,cut,parent,name); } - private native void newKSelectAction(String text, KShortcut cut, TQObject parent, String name); - public KSelectAction(String text, KShortcut cut, TQObject parent) { + private native void newTDESelectAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDESelectAction(String text, TDEShortcut cut, TQObject parent) { super((Class) null); - newKSelectAction(text,cut,parent); + newTDESelectAction(text,cut,parent); } - private native void newKSelectAction(String text, KShortcut cut, TQObject parent); - public KSelectAction(String text, KShortcut cut) { + private native void newTDESelectAction(String text, TDEShortcut cut, TQObject parent); + public TDESelectAction(String text, TDEShortcut cut) { super((Class) null); - newKSelectAction(text,cut); + newTDESelectAction(text,cut); } - private native void newKSelectAction(String text, KShortcut cut); - public KSelectAction(String text) { + private native void newTDESelectAction(String text, TDEShortcut cut); + public TDESelectAction(String text) { super((Class) null); - newKSelectAction(text); + newTDESelectAction(text); } - private native void newKSelectAction(String text); + private native void newTDESelectAction(String text); /** @param text The text that will be displayed. @param cut The corresponding keyboard accelerator (shortcut). @@ -65,16 +65,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,cut,receiver,slot,parent,name); + newTDESelectAction(text,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKSelectAction(text,cut,receiver,slot,parent); + newTDESelectAction(text,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDESelectAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -83,26 +83,26 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { + public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,pix,cut,parent,name); + newTDESelectAction(text,pix,cut,parent,name); } - private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { + private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKSelectAction(text,pix,cut,parent); + newTDESelectAction(text,pix,cut,parent); } - private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KSelectAction(String text, TQIconSet pix, KShortcut cut) { + private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut) { super((Class) null); - newKSelectAction(text,pix,cut); + newTDESelectAction(text,pix,cut); } - private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut); - public KSelectAction(String text, TQIconSet pix) { + private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut); + public TDESelectAction(String text, TQIconSet pix) { super((Class) null); - newKSelectAction(text,pix); + newTDESelectAction(text,pix); } - private native void newKSelectAction(String text, TQIconSet pix); + private native void newTDESelectAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -111,26 +111,26 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, String pix, KShortcut cut, TQObject parent, String name) { + public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,pix,cut,parent,name); + newTDESelectAction(text,pix,cut,parent,name); } - private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KSelectAction(String text, String pix, KShortcut cut, TQObject parent) { + private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKSelectAction(text,pix,cut,parent); + newTDESelectAction(text,pix,cut,parent); } - private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject parent); - public KSelectAction(String text, String pix, KShortcut cut) { + private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDESelectAction(String text, String pix, TDEShortcut cut) { super((Class) null); - newKSelectAction(text,pix,cut); + newTDESelectAction(text,pix,cut); } - private native void newKSelectAction(String text, String pix, KShortcut cut); - public KSelectAction(String text, String pix) { + private native void newTDESelectAction(String text, String pix, TDEShortcut cut); + public TDESelectAction(String text, String pix) { super((Class) null); - newKSelectAction(text,pix); + newTDESelectAction(text,pix); } - private native void newKSelectAction(String text, String pix); + private native void newTDESelectAction(String text, String pix); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -141,16 +141,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,pix,cut,receiver,slot,parent,name); + newTDESelectAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKSelectAction(text,pix,cut,receiver,slot,parent); + newTDESelectAction(text,pix,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDESelectAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -161,42 +161,42 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKSelectAction(text,pix,cut,receiver,slot,parent,name); + newTDESelectAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKSelectAction(text,pix,cut,receiver,slot,parent); + newTDESelectAction(text,pix,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDESelectAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KSelectAction(TQObject parent, String name) { + public TDESelectAction(TQObject parent, String name) { super((Class) null); - newKSelectAction(parent,name); + newTDESelectAction(parent,name); } - private native void newKSelectAction(TQObject parent, String name); - public KSelectAction(TQObject parent) { + private native void newTDESelectAction(TQObject parent, String name); + public TDESelectAction(TQObject parent) { super((Class) null); - newKSelectAction(parent); + newTDESelectAction(parent); } - private native void newKSelectAction(TQObject parent); - public KSelectAction() { + private native void newTDESelectAction(TQObject parent); + public TDESelectAction() { super((Class) null); - newKSelectAction(); + newTDESelectAction(); } - private native void newKSelectAction(); + private native void newTDESelectAction(); /** "Plug" or insert this action into a given widget. This will typically be a menu or a toolbar. From this point on, you will never need to directly manipulate the item in the menu or toolbar. - You do all enabling/disabling/manipulation directly with your KSelectAction object. + You do all enabling/disabling/manipulation directly with your TDESelectAction object. @param widget The GUI element to display this action. @param index The index of the item. @short "Plug" or insert this action into a given widget. diff --git a/kdejava/koala/org/kde/koala/KSelectActionSignals.java b/kdejava/koala/org/kde/koala/TDESelectActionSignals.java index aeaa843d..d37a7a60 100644 --- a/kdejava/koala/org/kde/koala/KSelectActionSignals.java +++ b/kdejava/koala/org/kde/koala/TDESelectActionSignals.java @@ -9,7 +9,7 @@ import java.util.ArrayList; import org.kde.qt.TQIconSet; import org.kde.qt.TQWidget; -public interface KSelectActionSignals { +public interface TDESelectActionSignals { /** This signal is emitted when an item is selected; @param index indicated the item selected. diff --git a/kdejava/koala/org/kde/koala/KSelector.java b/kdejava/koala/org/kde/koala/TDESelector.java index 536b8a8c..e165ded2 100644 --- a/kdejava/koala/org/kde/koala/KSelector.java +++ b/kdejava/koala/org/kde/koala/TDESelector.java @@ -17,59 +17,59 @@ import org.kde.qt.TQWidget; /** - KSelector is the base class for other widgets which + TDESelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values. An example is the KGradientSelector which allows to choose from a range of colors. A custom drawing routine for the widget surface has to be provided by the subclass. - See {@link KSelectorSignals} for signals emitted by KSelector - @short KSelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values. + See {@link TDESelectorSignals} for signals emitted by TDESelector + @short TDESelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values. */ -public class KSelector extends TQWidget implements TQRangeControlInterface { - protected KSelector(Class dummy){super((Class) null);} +public class TDESelector extends TQWidget implements TQRangeControlInterface { + protected TDESelector(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Constructs a horizontal one-dimensional selection widget. @short Constructs a horizontal one-dimensional selection widget. */ - public KSelector(TQWidget parent, String name) { + public TDESelector(TQWidget parent, String name) { super((Class) null); - newKSelector(parent,name); + newTDESelector(parent,name); } - private native void newKSelector(TQWidget parent, String name); - public KSelector(TQWidget parent) { + private native void newTDESelector(TQWidget parent, String name); + public TDESelector(TQWidget parent) { super((Class) null); - newKSelector(parent); + newTDESelector(parent); } - private native void newKSelector(TQWidget parent); - public KSelector() { + private native void newTDESelector(TQWidget parent); + public TDESelector() { super((Class) null); - newKSelector(); + newTDESelector(); } - private native void newKSelector(); + private native void newTDESelector(); /** Constructs a one-dimensional selection widget with a given orientation. @short Constructs a one-dimensional selection widget with a given orientation. */ - public KSelector(int o, TQWidget parent, String name) { + public TDESelector(int o, TQWidget parent, String name) { super((Class) null); - newKSelector(o,parent,name); + newTDESelector(o,parent,name); } - private native void newKSelector(int o, TQWidget parent, String name); - public KSelector(int o, TQWidget parent) { + private native void newTDESelector(int o, TQWidget parent, String name); + public TDESelector(int o, TQWidget parent) { super((Class) null); - newKSelector(o,parent); + newTDESelector(o,parent); } - private native void newKSelector(int o, TQWidget parent); - public KSelector(int o) { + private native void newTDESelector(int o, TQWidget parent); + public TDESelector(int o) { super((Class) null); - newKSelector(o); + newTDESelector(o); } - private native void newKSelector(int o); + private native void newTDESelector(int o); /** @return the orientation of the widget. diff --git a/kdejava/koala/org/kde/koala/KSelectorSignals.java b/kdejava/koala/org/kde/koala/TDESelectorSignals.java index 9b7576fc..5f4738ae 100644 --- a/kdejava/koala/org/kde/koala/KSelectorSignals.java +++ b/kdejava/koala/org/kde/koala/TDESelectorSignals.java @@ -13,7 +13,7 @@ import org.kde.qt.TQMouseEvent; import org.kde.qt.TQWidget; import org.kde.qt.TQWheelEvent; -public interface KSelectorSignals { +public interface TDESelectorSignals { /** This signal is emitted whenever the user chooses a value, e.g. by clicking with the mouse on the widget. diff --git a/kdejava/koala/org/kde/koala/KShortcut.java b/kdejava/koala/org/kde/koala/TDEShortcut.java index 269cbd66..c2281727 100644 --- a/kdejava/koala/org/kde/koala/KShortcut.java +++ b/kdejava/koala/org/kde/koala/TDEShortcut.java @@ -7,34 +7,34 @@ import org.kde.qt.QtSupport; /** - The KShortcut class is used to represent a keyboard shortcut to an action. + The TDEShortcut class is used to represent a keyboard shortcut to an action. A shortcut is normally a single key with modifiers, such as Ctrl+V. - A KShortcut object may also contain an alternate key which will also + A TDEShortcut object may also contain an alternate key which will also activate the action it's associated to, as long as no other actions have defined that key as their primary key. Ex: Ctrl+V;Shift+Insert. - This can be used to add additional accelerators to a KAction. For example, + This can be used to add additional accelerators to a TDEAction. For example, the below code binds the escape key to the close action. <pre> - KAction closeAction = KStdAction.close( this, SLOT("close()"), actionCollection() ); - KShortcut closeShortcut = closeAction.shortcut(); + TDEAction closeAction = KStdAction.close( this, SLOT("close()"), actionCollection() ); + TDEShortcut closeShortcut = closeAction.shortcut(); closeShortcut.append( KKey(Key_Escape)); closeAction.setShortcut(closeShortcut); </pre> Note that a shortcut cannot have more than 2 key combinations associated with it, so the above code would not do anything (and append() would return false) if the closeAction already had an key and alternate key. - @short The KShortcut class is used to represent a keyboard shortcut to an action. + @short The TDEShortcut class is used to represent a keyboard shortcut to an action. */ -public class KShortcut implements QtSupport { +public class TDEShortcut implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KShortcut(Class dummy){} + protected TDEShortcut(Class dummy){} /** The maximum number of key sequences that can be contained in - a KShortcut. - @short The maximum number of key sequences that can be contained in a KShortcut. + a TDEShortcut. + @short The maximum number of key sequences that can be contained in a TDEShortcut. */ public static final int MAX_SETQUENCES = 2; @@ -45,10 +45,10 @@ public class KShortcut implements QtSupport { @see #isNull @see #clear */ - public KShortcut() { - newKShortcut(); + public TDEShortcut() { + newTDEShortcut(); } - private native void newKShortcut(); + private native void newTDEShortcut(); /** Creates a new shortcut with the given Qt key code as the only key sequence. @@ -56,49 +56,49 @@ public class KShortcut implements QtSupport { @short Creates a new shortcut with the given Qt key code as the only key sequence. @see org.kde.qt.Qt#Key */ - public KShortcut(int keyQt) { - newKShortcut(keyQt); + public TDEShortcut(int keyQt) { + newTDEShortcut(keyQt); } - private native void newKShortcut(int keyQt); + private native void newTDEShortcut(int keyQt); /** Creates a new shortcut that contains only the given qt key sequence. @param keySeq the qt key sequence to add @short Creates a new shortcut that contains only the given qt key sequence. */ - public KShortcut(TQKeySequence keySeq) { - newKShortcut(keySeq); + public TDEShortcut(TQKeySequence keySeq) { + newTDEShortcut(keySeq); } - private native void newKShortcut(TQKeySequence keySeq); + private native void newTDEShortcut(TQKeySequence keySeq); /** Creates a new shortcut that contains only the given key in its only sequence. @param key the key to add @short Creates a new shortcut that contains only the given key in its only sequence. */ - public KShortcut(KKey key) { - newKShortcut(key); + public TDEShortcut(KKey key) { + newTDEShortcut(key); } - private native void newKShortcut(KKey key); + private native void newTDEShortcut(KKey key); /** Creates a new shortcut that contains only the given key sequence. @param keySeq the key sequence to add @short Creates a new shortcut that contains only the given key sequence. */ - public KShortcut(KKeySequence keySeq) { - newKShortcut(keySeq); + public TDEShortcut(KKeySequence keySeq) { + newTDEShortcut(keySeq); } - private native void newKShortcut(KKeySequence keySeq); + private native void newTDEShortcut(KKeySequence keySeq); /** Copies the given shortcut. @param shortcut the shortcut to add @short Copies the given shortcut. */ - public KShortcut(KShortcut shortcut) { - newKShortcut(shortcut); + public TDEShortcut(TDEShortcut shortcut) { + newTDEShortcut(shortcut); } - private native void newKShortcut(KShortcut shortcut); + private native void newTDEShortcut(TDEShortcut shortcut); /** Creates a new key sequence that contains the given key sequence. The description consists of semicolon-separated keys as @@ -107,10 +107,10 @@ public class KShortcut implements QtSupport { @short Creates a new key sequence that contains the given key sequence. @see KKeySequence#KKeySequence(const */ - public KShortcut(String shortcut) { - newKShortcut(shortcut); + public TDEShortcut(String shortcut) { + newTDEShortcut(shortcut); } - private native void newKShortcut(String shortcut); + private native void newTDEShortcut(String shortcut); /** Clears the shortcut. The shortcut is null after calling this function. @@ -149,7 +149,7 @@ public class KShortcut implements QtSupport { @param shortcut the shortcut to add @short Copies the given shortcut. */ - public native boolean init(KShortcut shortcut); + public native boolean init(TDEShortcut shortcut); /** Initializes the key sequence with the given key sequence. The description consists of semicolon-separated keys as @@ -206,32 +206,32 @@ public class KShortcut implements QtSupport { beginning until an unequal key sequences has been found. If a shortcut contains more key sequences, it is considered larger. @param shortcut the shortcut to compare to - @return a negative number if the given KShortcut is larger, 0 if - they are equal and a positive number this KShortcut is larger + @return a negative number if the given TDEShortcut is larger, 0 if + they are equal and a positive number this TDEShortcut is larger @short Compares this object with the given shortcut. @see KKey#compare @see KKeyShortcut#compare */ - public native int compare(KShortcut shortcut); + public native int compare(TDEShortcut shortcut); /** Compares the sequences of both shortcuts. @short Compares the sequences of both shortcuts. @see #compare */ - public native boolean op_equals(KShortcut cut); + public native boolean op_equals(TDEShortcut cut); /** Compares the sequences of both shortcuts. @short Compares the sequences of both shortcuts. @see #compare */ - public native boolean op_not_equals(KShortcut cut); + public native boolean op_not_equals(TDEShortcut cut); /** Compares the sequences of both shortcuts. @short Compares the sequences of both shortcuts. @see #compare */ - public native boolean op_lt(KShortcut cut); + public native boolean op_lt(TDEShortcut cut); /** Checks whether this shortcut contains a sequence that starts with the given key. @@ -295,7 +295,7 @@ public class KShortcut implements QtSupport { @short Appends the sequences from the given shortcut. @see MAX_SETQUENCES */ - public native boolean append(KShortcut cut); + public native boolean append(TDEShortcut cut); /** Returns a description of the shortcut as semicolon-separated ket sequences, as returned by KKeySequence.toString(). @@ -309,7 +309,7 @@ public class KShortcut implements QtSupport { /** @short */ - public native String toStringInternal(KShortcut pcutDefault); + public native String toStringInternal(TDEShortcut pcutDefault); public native String toStringInternal(); /** Returns a null shortcut. @@ -319,7 +319,7 @@ public class KShortcut implements QtSupport { @see #isNull @see #clear */ - public static native KShortcut nil(); + public static native TDEShortcut nil(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KShortcutList.java b/kdejava/koala/org/kde/koala/TDEShortcutList.java index 48cc123e..e7a5dfff 100644 --- a/kdejava/koala/org/kde/koala/KShortcutList.java +++ b/kdejava/koala/org/kde/koala/TDEShortcutList.java @@ -7,19 +7,19 @@ import org.kde.qt.TQVariant; /** - KShortcutList is an abstract base class for - KAccelShortcutList and KStdAccel.ShortcutList. It gives + TDEShortcutList is an abstract base class for + TDEAccelShortcutList and TDEStdAccel.ShortcutList. It gives you an unified interface for accessing the accelerator lists - of KAccel (using KAccelShortcutList), - TDEGlobalAccel (using KAccelShortcutList), and - KStdAccel (using KStdAccel.ShortcutList). + of TDEAccel (using TDEAccelShortcutList), + TDEGlobalAccel (using TDEAccelShortcutList), and + TDEStdAccel (using TDEStdAccel.ShortcutList). @short Base class for accessing accelerator lists. */ -public class KShortcutList implements QtSupport { +public class TDEShortcutList implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected KShortcutList(Class dummy){} + protected TDEShortcutList(Class dummy){} /** @@ -65,7 +65,7 @@ public class KShortcutList implements QtSupport { @short Returns the shortcut with the given <code>index.</code> @see #shortcutDefault */ - public native KShortcut shortcut(int index); + public native TDEShortcut shortcut(int index); /** Returns default shortcut with the given <code>index.</code> @param index the index of the shortcut (must be < count()) @@ -74,7 +74,7 @@ public class KShortcutList implements QtSupport { @short Returns default shortcut with the given <code>index.</code> @see #shortcut */ - public native KShortcut shortcutDefault(int index); + public native TDEShortcut shortcutDefault(int index); /** Checks whether the shortcut with the given <code>index</code> is configurable. @param index the index of the shortcut (must be < count()) @@ -89,7 +89,7 @@ public class KShortcutList implements QtSupport { @param shortcut the shortcut @short Sets the shortcut of the given entry */ - public native boolean setShortcut(int index, KShortcut shortcut); + public native boolean setShortcut(int index, TDEShortcut shortcut); /** Checks whether the shortcut with the given <code>index</code> is saved in the global configuration. diff --git a/kdejava/koala/org/kde/koala/KStdAccel.java b/kdejava/koala/org/kde/koala/TDEStdAccel.java index 9a0a0ef6..adb67f6b 100644 --- a/kdejava/koala/org/kde/koala/KStdAccel.java +++ b/kdejava/koala/org/kde/koala/TDEStdAccel.java @@ -6,18 +6,18 @@ import org.kde.qt.QtSupport; /** - \namespace KStdAccel + \namespace TDEStdAccel Convenient methods for access to the common accelerator keys in the key configuration. These are the standard keybindings that should be used in all KDE applications. They will be configurable, so do not hardcode the default behavior. If you want real configurable keybindings in your applications, - please checkout the class KAccel in kaccel.h - @short \namespace KStdAccel Convenient methods for access to the common accelerator keys in the key configuration. - @see KAccelShortcutList + please checkout the class TDEAccel in kaccel.h + @short \namespace TDEStdAccel Convenient methods for access to the common accelerator keys in the key configuration. + @see TDEAccelShortcutList */ -public class KStdAccel { +public class TDEStdAccel { /** Defines the identifier of all standard accelerators. @short Defines the identifier of all standard accelerators. @@ -79,7 +79,7 @@ public class KStdAccel { @param id the id of the accelerator @short Returns the keybinding for <code>accel.</code> */ - public static native KShortcut shortcut(int id); + public static native TDEShortcut shortcut(int id); /** Returns a unique name for the given accel. @param id the id of the accelerator @@ -123,7 +123,7 @@ public class KStdAccel { @short Returns the hardcoded default shortcut for <code>id.</code> */ - public static native KShortcut shortcutDefault(int id); + public static native TDEShortcut shortcutDefault(int id); /** Returns the hardcoded default 3 modifier shortcut for <code>id.</code> This does not take into account the user's configuration. @@ -132,7 +132,7 @@ public class KStdAccel { @short Returns the hardcoded default 3 modifier shortcut for <code>id.</code> */ - public static native KShortcut shortcutDefault3(int id); + public static native TDEShortcut shortcutDefault3(int id); /** Returns the hardcoded default 4 modifier shortcut for <code>id.</code> This does not take into account the user's configuration. @@ -141,245 +141,245 @@ public class KStdAccel { @short Returns the hardcoded default 4 modifier shortcut for <code>id.</code> */ - public static native KShortcut shortcutDefault4(int id); + public static native TDEShortcut shortcutDefault4(int id); /** Open file. Default: Ctrl-o @return the shortcut of the standard accelerator @short Open file. */ - public static native KShortcut open(); + public static native TDEShortcut open(); /** Create a new document (or whatever). Default: Ctrl-n @return the shortcut of the standard accelerator @short Create a new document (or whatever). */ - public static native KShortcut openNew(); + public static native TDEShortcut openNew(); /** Close current document. Default: Ctrl-w @return the shortcut of the standard accelerator @short Close current document. */ - public static native KShortcut close(); + public static native TDEShortcut close(); /** Save current document. Default: Ctrl-s @return the shortcut of the standard accelerator @short Save current document. */ - public static native KShortcut save(); + public static native TDEShortcut save(); /** Print current document. Default: Ctrl-p @return the shortcut of the standard accelerator @short Print current document. */ - public static native KShortcut print(); + public static native TDEShortcut print(); /** Quit the program. Default: Ctrl-q @return the shortcut of the standard accelerator @short Quit the program. */ - public static native KShortcut quit(); + public static native TDEShortcut quit(); /** Undo last operation. Default: Ctrl-z @return the shortcut of the standard accelerator @short Undo last operation. */ - public static native KShortcut undo(); + public static native TDEShortcut undo(); /** Redo. Default: Shift-Ctrl-z @return the shortcut of the standard accelerator @short Redo. */ - public static native KShortcut redo(); + public static native TDEShortcut redo(); /** Cut selected area and store it in the clipboard. Default: Ctrl-x @return the shortcut of the standard accelerator @short Cut selected area and store it in the clipboard. */ - public static native KShortcut cut(); + public static native TDEShortcut cut(); /** Copy selected area into the clipboard. Default: Ctrl-c @return the shortcut of the standard accelerator @short Copy selected area into the clipboard. */ - public static native KShortcut copy(); + public static native TDEShortcut copy(); /** Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v @return the shortcut of the standard accelerator @short Paste contents of clipboard at mouse/cursor position. */ - public static native KShortcut paste(); + public static native TDEShortcut paste(); /** Paste the selection at mouse/cursor position. Default: Ctrl-Shift-Insert @return the shortcut of the standard accelerator @short Paste the selection at mouse/cursor position. */ - public static native KShortcut pasteSelection(); + public static native TDEShortcut pasteSelection(); /** Reload. Default: Ctrl-A @return the shortcut of the standard accelerator @short Reload. */ - public static native KShortcut selectAll(); + public static native TDEShortcut selectAll(); /** Delete a word back from mouse/cursor position. Default: Ctrl-Backspace @return the shortcut of the standard accelerator @short Delete a word back from mouse/cursor position. */ - public static native KShortcut deleteWordBack(); + public static native TDEShortcut deleteWordBack(); /** Delete a word forward from mouse/cursor position. Default: Ctrl-Delete @return the shortcut of the standard accelerator @short Delete a word forward from mouse/cursor position. */ - public static native KShortcut deleteWordForward(); + public static native TDEShortcut deleteWordForward(); /** Find, search. Default: Ctrl-f @return the shortcut of the standard accelerator @short Find, search. */ - public static native KShortcut find(); + public static native TDEShortcut find(); /** Find/search next. Default: F3 @return the shortcut of the standard accelerator @short Find/search next. */ - public static native KShortcut findNext(); + public static native TDEShortcut findNext(); /** Find/search previous. Default: Shift-F3 @return the shortcut of the standard accelerator @short Find/search previous. */ - public static native KShortcut findPrev(); + public static native TDEShortcut findPrev(); /** Find and replace matches. Default: Ctrl-r @return the shortcut of the standard accelerator @short Find and replace matches. */ - public static native KShortcut replace(); + public static native TDEShortcut replace(); /** Zoom in. Default: Ctrl-Plus @return the shortcut of the standard accelerator @short Zoom in. */ - public static native KShortcut zoomIn(); + public static native TDEShortcut zoomIn(); /** Zoom out. Default: Ctrl-Minus @return the shortcut of the standard accelerator @short Zoom out. */ - public static native KShortcut zoomOut(); + public static native TDEShortcut zoomOut(); /** Goto beginning of the document. Default: Ctrl-Home @return the shortcut of the standard accelerator @short Goto beginning of the document. */ - public static native KShortcut home(); + public static native TDEShortcut home(); /** Goto end of the document. Default: Ctrl-End @return the shortcut of the standard accelerator @short Goto end of the document. */ - public static native KShortcut end(); + public static native TDEShortcut end(); /** Goto beginning of current line. Default: Home @return the shortcut of the standard accelerator @short Goto beginning of current line. */ - public static native KShortcut beginningOfLine(); + public static native TDEShortcut beginningOfLine(); /** Goto end of current line. Default: End @return the shortcut of the standard accelerator @short Goto end of current line. */ - public static native KShortcut endOfLine(); + public static native TDEShortcut endOfLine(); /** Scroll up one page. Default: Prior @return the shortcut of the standard accelerator @short Scroll up one page. */ - public static native KShortcut prior(); + public static native TDEShortcut prior(); /** Scroll down one page. Default: Next @return the shortcut of the standard accelerator @short Scroll down one page. */ - public static native KShortcut next(); + public static native TDEShortcut next(); /** Go to line. Default: Ctrl+G @return the shortcut of the standard accelerator @short Go to line. */ - public static native KShortcut gotoLine(); + public static native TDEShortcut gotoLine(); /** Add current page to bookmarks. Default: Ctrl+B @return the shortcut of the standard accelerator @short Add current page to bookmarks. */ - public static native KShortcut addBookmark(); + public static native TDEShortcut addBookmark(); /** Next Tab. Default: Ctrl-< @return the shortcut of the standard accelerator @short Next Tab. */ - public static native KShortcut tabNext(); + public static native TDEShortcut tabNext(); /** Previous Tab. Default: Ctrl. @return the shortcut of the standard accelerator @short Previous Tab. */ - public static native KShortcut tabPrev(); + public static native TDEShortcut tabPrev(); /** Full Screen Mode. Default: Ctrl+Shift+F @return the shortcut of the standard accelerator @short Full Screen Mode. */ - public static native KShortcut fullScreen(); + public static native TDEShortcut fullScreen(); /** Help the user in the current situation. Default: F1 @return the shortcut of the standard accelerator @short Help the user in the current situation. */ - public static native KShortcut help(); + public static native TDEShortcut help(); /** Complete text in input widgets. Default Ctrl+E @return the shortcut of the standard accelerator @short Complete text in input widgets. */ - public static native KShortcut completion(); + public static native TDEShortcut completion(); /** Iterate through a list when completion returns multiple items. Default: Ctrl+Up @@ -387,7 +387,7 @@ public class KStdAccel { @short Iterate through a list when completion returns multiple items. */ - public static native KShortcut prevCompletion(); + public static native TDEShortcut prevCompletion(); /** Iterate through a list when completion returns multiple items. Default: Ctrl+Down @@ -395,7 +395,7 @@ public class KStdAccel { @short Iterate through a list when completion returns multiple items. */ - public static native KShortcut nextCompletion(); + public static native TDEShortcut nextCompletion(); /** Find a string within another string or list of strings. Default: Ctrl-T @@ -403,82 +403,82 @@ public class KStdAccel { @short Find a string within another string or list of strings. */ - public static native KShortcut substringCompletion(); + public static native TDEShortcut substringCompletion(); /** Help users iterate through a list of entries. Default: Up @return the shortcut of the standard accelerator @short Help users iterate through a list of entries. */ - public static native KShortcut rotateUp(); + public static native TDEShortcut rotateUp(); /** Help users iterate through a list of entries. Default: Down @return the shortcut of the standard accelerator @short Help users iterate through a list of entries. */ - public static native KShortcut rotateDown(); + public static native TDEShortcut rotateDown(); /** popup a context menu. Default: Menu @return the shortcut of the standard accelerator @short popup a context menu. */ - public static native KShortcut popupMenuContext(); + public static native TDEShortcut popupMenuContext(); /** What's This button. Default: Shift+F1 @return the shortcut of the standard accelerator @short What's This button. */ - public static native KShortcut whatsThis(); + public static native TDEShortcut whatsThis(); /** Reload. Default: F5 @return the shortcut of the standard accelerator @short Reload. */ - public static native KShortcut reload(); + public static native TDEShortcut reload(); /** Up. Default: Alt+Up @return the shortcut of the standard accelerator @short Up. */ - public static native KShortcut up(); + public static native TDEShortcut up(); /** Back. Default: Alt+Left @return the shortcut of the standard accelerator @short Back. */ - public static native KShortcut back(); + public static native TDEShortcut back(); /** Forward. Default: ALT+Right @return the shortcut of the standard accelerator @short Forward. */ - public static native KShortcut forward(); + public static native TDEShortcut forward(); /** BackwardWord. Default: Ctrl+Left @return the shortcut of the standard accelerator @short BackwardWord. */ - public static native KShortcut backwardWord(); + public static native TDEShortcut backwardWord(); /** ForwardWord. Default: Ctrl+Right @return the shortcut of the standard accelerator @short ForwardWord. */ - public static native KShortcut forwardWord(); + public static native TDEShortcut forwardWord(); /** Show Menu Bar. Default: Ctrl-M @return the shortcut of the standard accelerator @short Show Menu Bar. */ - public static native KShortcut showMenubar(); + public static native TDEShortcut showMenubar(); } diff --git a/kdejava/koala/org/kde/koala/KToggleAction.java b/kdejava/koala/org/kde/koala/TDEToggleAction.java index d09d7bdc..6d08efea 100644 --- a/kdejava/koala/org/kde/koala/KToggleAction.java +++ b/kdejava/koala/org/kde/koala/TDEToggleAction.java @@ -12,12 +12,12 @@ import org.kde.qt.TQWidget; Checkbox like action. This action provides two states: checked or not. - See {@link KToggleActionSignals} for signals emitted by KToggleAction + See {@link TDEToggleActionSignals} for signals emitted by TDEToggleAction @short Checkbox like action. */ -public class KToggleAction extends KAction { - protected KToggleAction(Class dummy){super((Class) null);} +public class TDEToggleAction extends TDEAction { + protected TDEToggleAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -30,26 +30,26 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short Constructs a toggle action with text and potential keyboard accelerator but nothing else. */ - public KToggleAction(String text, KShortcut cut, TQObject parent, String name) { + public TDEToggleAction(String text, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,cut,parent,name); + newTDEToggleAction(text,cut,parent,name); } - private native void newKToggleAction(String text, KShortcut cut, TQObject parent, String name); - public KToggleAction(String text, KShortcut cut, TQObject parent) { + private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject parent, String name); + public TDEToggleAction(String text, TDEShortcut cut, TQObject parent) { super((Class) null); - newKToggleAction(text,cut,parent); + newTDEToggleAction(text,cut,parent); } - private native void newKToggleAction(String text, KShortcut cut, TQObject parent); - public KToggleAction(String text, KShortcut cut) { + private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject parent); + public TDEToggleAction(String text, TDEShortcut cut) { super((Class) null); - newKToggleAction(text,cut); + newTDEToggleAction(text,cut); } - private native void newKToggleAction(String text, KShortcut cut); - public KToggleAction(String text) { + private native void newTDEToggleAction(String text, TDEShortcut cut); + public TDEToggleAction(String text) { super((Class) null); - newKToggleAction(text); + newTDEToggleAction(text); } - private native void newKToggleAction(String text); + private native void newTDEToggleAction(String text); /** @param text The text that will be displayed. @param cut The corresponding keyboard accelerator (shortcut). @@ -59,16 +59,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,cut,receiver,slot,parent,name); + newTDEToggleAction(text,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKToggleAction(text,cut,receiver,slot,parent); + newTDEToggleAction(text,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDEToggleAction(String text, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -77,26 +77,26 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { + public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,pix,cut,parent,name); + newTDEToggleAction(text,pix,cut,parent,name); } - private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); - public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { + private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent, String name); + public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKToggleAction(text,pix,cut,parent); + newTDEToggleAction(text,pix,cut,parent); } - private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); - public KToggleAction(String text, TQIconSet pix, KShortcut cut) { + private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject parent); + public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut) { super((Class) null); - newKToggleAction(text,pix,cut); + newTDEToggleAction(text,pix,cut); } - private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut); - public KToggleAction(String text, TQIconSet pix) { + private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut); + public TDEToggleAction(String text, TQIconSet pix) { super((Class) null); - newKToggleAction(text,pix); + newTDEToggleAction(text,pix); } - private native void newKToggleAction(String text, TQIconSet pix); + private native void newTDEToggleAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -105,26 +105,26 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, String pix, KShortcut cut, TQObject parent, String name) { + public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,pix,cut,parent,name); + newTDEToggleAction(text,pix,cut,parent,name); } - private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject parent, String name); - public KToggleAction(String text, String pix, KShortcut cut, TQObject parent) { + private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent, String name); + public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent) { super((Class) null); - newKToggleAction(text,pix,cut,parent); + newTDEToggleAction(text,pix,cut,parent); } - private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject parent); - public KToggleAction(String text, String pix, KShortcut cut) { + private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject parent); + public TDEToggleAction(String text, String pix, TDEShortcut cut) { super((Class) null); - newKToggleAction(text,pix,cut); + newTDEToggleAction(text,pix,cut); } - private native void newKToggleAction(String text, String pix, KShortcut cut); - public KToggleAction(String text, String pix) { + private native void newTDEToggleAction(String text, String pix, TDEShortcut cut); + public TDEToggleAction(String text, String pix) { super((Class) null); - newKToggleAction(text,pix); + newTDEToggleAction(text,pix); } - private native void newKToggleAction(String text, String pix); + private native void newTDEToggleAction(String text, String pix); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -135,16 +135,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,pix,cut,receiver,slot,parent,name); + newTDEToggleAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKToggleAction(text,pix,cut,receiver,slot,parent); + newTDEToggleAction(text,pix,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDEToggleAction(String text, TQIconSet pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -155,42 +155,42 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKToggleAction(text,pix,cut,receiver,slot,parent,name); + newTDEToggleAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKToggleAction(text,pix,cut,receiver,slot,parent); + newTDEToggleAction(text,pix,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDEToggleAction(String text, String pix, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KToggleAction(TQObject parent, String name) { + public TDEToggleAction(TQObject parent, String name) { super((Class) null); - newKToggleAction(parent,name); + newTDEToggleAction(parent,name); } - private native void newKToggleAction(TQObject parent, String name); - public KToggleAction(TQObject parent) { + private native void newTDEToggleAction(TQObject parent, String name); + public TDEToggleAction(TQObject parent) { super((Class) null); - newKToggleAction(parent); + newTDEToggleAction(parent); } - private native void newKToggleAction(TQObject parent); - public KToggleAction() { + private native void newTDEToggleAction(TQObject parent); + public TDEToggleAction() { super((Class) null); - newKToggleAction(); + newTDEToggleAction(); } - private native void newKToggleAction(); + private native void newTDEToggleAction(); /** "Plug" or insert this action into a given widget. This will typically be a menu or a toolbar. From this point on, you will never need to directly manipulate the item in the menu or toolbar. You do all enabling/disabling/manipulation - directly with your KToggleAction object. + directly with your TDEToggleAction object. @param widget The GUI element to display this action. @param index The index of the item. @short "Plug" or insert this action into a given widget. diff --git a/kdejava/koala/org/kde/koala/KToggleActionSignals.java b/kdejava/koala/org/kde/koala/TDEToggleActionSignals.java index 1b9b2ca9..51ec9c20 100644 --- a/kdejava/koala/org/kde/koala/KToggleActionSignals.java +++ b/kdejava/koala/org/kde/koala/TDEToggleActionSignals.java @@ -7,6 +7,6 @@ import org.kde.qt.TQObject; import org.kde.qt.TQIconSet; import org.kde.qt.TQWidget; -public interface KToggleActionSignals { +public interface TDEToggleActionSignals { void toggled(boolean arg1); } diff --git a/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java b/kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java index 968d6468..5a07bd11 100644 --- a/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java +++ b/kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java @@ -22,25 +22,25 @@ import org.kde.qt.TQWidget; @short An action for switching between to/from full screen mode. */ -public class KToggleFullScreenAction extends KToggleAction { - protected KToggleFullScreenAction(Class dummy){super((Class) null);} +public class TDEToggleFullScreenAction extends TDEToggleAction { + protected TDEToggleFullScreenAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Create a KToggleFullScreenAction + Create a TDEToggleFullScreenAction @param cut The corresponding keyboard accelerator (shortcut). @param receiver The SLOT's parent. @param slot The SLOT to invoke to execute this action. @param parent This action's parent. @param window the window that will switch to/from full screen mode @param name An internal name for this action. - @short Create a KToggleFullScreenAction + @short Create a TDEToggleFullScreenAction */ - public KToggleFullScreenAction(KShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name) { + public TDEToggleFullScreenAction(TDEShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name) { super((Class) null); - newKToggleFullScreenAction(cut,receiver,slot,parent,window,name); + newTDEToggleFullScreenAction(cut,receiver,slot,parent,window,name); } - private native void newKToggleFullScreenAction(KShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name); + private native void newTDEToggleFullScreenAction(TDEShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name); /** Sets the window that will be related to this action. @short Sets the window that will be related to this action. diff --git a/kdejava/koala/org/kde/koala/KToggleToolBarAction.java b/kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java index 188eabaa..bea7226c 100644 --- a/kdejava/koala/org/kde/koala/KToggleToolBarAction.java +++ b/kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java @@ -20,30 +20,30 @@ import org.kde.qt.TQWidget; @short An action that takes care of everything associated with showing or hiding a toolbar by a menu action. */ -public class KToggleToolBarAction extends KToggleAction { - protected KToggleToolBarAction(Class dummy){super((Class) null);} +public class TDEToggleToolBarAction extends TDEToggleAction { + protected TDEToggleToolBarAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Create a KToggleToolbarAction that manages the toolbar + Create a TDEToggleToolbarAction that manages the toolbar named toolBarName. This can be either the name of a toolbar in an xml ui file, or a toolbar programmatically created with that name. - @short Create a KToggleToolbarAction that manages the toolbar named toolBarName. + @short Create a TDEToggleToolbarAction that manages the toolbar named toolBarName. */ - public KToggleToolBarAction(String toolBarName, String text, KActionCollection parent, String name) { + public TDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name) { super((Class) null); - newKToggleToolBarAction(toolBarName,text,parent,name); + newTDEToggleToolBarAction(toolBarName,text,parent,name); } - private native void newKToggleToolBarAction(String toolBarName, String text, KActionCollection parent, String name); - public KToggleToolBarAction(KToolBar toolBar, String text, KActionCollection parent, String name) { + private native void newTDEToggleToolBarAction(String toolBarName, String text, TDEActionCollection parent, String name); + public TDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name) { super((Class) null); - newKToggleToolBarAction(toolBar,text,parent,name); + newTDEToggleToolBarAction(toolBar,text,parent,name); } - private native void newKToggleToolBarAction(KToolBar toolBar, String text, KActionCollection parent, String name); + private native void newTDEToggleToolBarAction(TDEToolBar toolBar, String text, TDEActionCollection parent, String name); public native int plug(TQWidget widget, int index); public native int plug(TQWidget widget); - public native KToolBar toolBar(); + public native TDEToolBar toolBar(); public native void setChecked(boolean arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KToolBar.java b/kdejava/koala/org/kde/koala/TDEToolBar.java index 4aad7ca4..87f87b45 100644 --- a/kdejava/koala/org/kde/koala/KToolBar.java +++ b/kdejava/koala/org/kde/koala/TDEToolBar.java @@ -23,26 +23,26 @@ import org.kde.qt.TQToolBar; /** A KDE-style toolbar. - KToolBar can be dragged around in and between different docks. - A KToolBar can contain all sorts of widgets. - KToolBar can be used as a standalone widget, but KMainWindow + TDEToolBar can be dragged around in and between different docks. + A TDEToolBar can contain all sorts of widgets. + TDEToolBar can be used as a standalone widget, but TDEMainWindow provides easy factories and management of one or more toolbars. - Once you have a KToolBar object, you can insert items into it with the + Once you have a TDEToolBar object, you can insert items into it with the insert... methods, or remove them with the removeItem() method. This can be done at any time; the toolbar will be automatically updated. There are also many methods to set per-child properties like alignment and toggle behavior. - KToolBar uses a global config group to load toolbar settings on + TDEToolBar uses a global config group to load toolbar settings on construction. It will reread this config group on a TDEApplication.appearanceChanged() signal. - See {@link KToolBarSignals} for signals emitted by KToolBar + See {@link TDEToolBarSignals} for signals emitted by TDEToolBar @author Reginald Stadlbauer <reggie@kde.org>, Stephan Kulow <coolo@kde.org>, Sven Radej <radej@kde.org>. @short Floatable toolbar with auto resize. */ -public class KToolBar extends TQToolBar { - protected KToolBar(Class dummy){super((Class) null);} +public class TDEToolBar extends TQToolBar { + protected TDEToolBar(Class dummy){super((Class) null);} public static final int IconOnly = 0; public static final int IconTextRight = 1; public static final int TextOnly = 2; @@ -72,32 +72,32 @@ public class KToolBar extends TQToolBar { the settings will be honored only if <code>honorStyle</code> is set to true. All other toolbars will be IconOnly and use Medium icons. @param parent The standard toolbar parent (usually a - KMainWindow) + TDEMainWindow) @param name The standard internal name @param honorStyle If true, then global settings for IconSize and IconText will be honored @param readConfig whether to apply the configuration (global and application-specific) @short Normal constructor. */ - public KToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig) { + public TDEToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig) { super((Class) null); - newKToolBar(parent,name,honorStyle,readConfig); + newTDEToolBar(parent,name,honorStyle,readConfig); } - private native void newKToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig); - public KToolBar(TQWidget parent, String name, boolean honorStyle) { + private native void newTDEToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig); + public TDEToolBar(TQWidget parent, String name, boolean honorStyle) { super((Class) null); - newKToolBar(parent,name,honorStyle); + newTDEToolBar(parent,name,honorStyle); } - private native void newKToolBar(TQWidget parent, String name, boolean honorStyle); - public KToolBar(TQWidget parent, String name) { + private native void newTDEToolBar(TQWidget parent, String name, boolean honorStyle); + public TDEToolBar(TQWidget parent, String name) { super((Class) null); - newKToolBar(parent,name); + newTDEToolBar(parent,name); } - private native void newKToolBar(TQWidget parent, String name); - public KToolBar(TQWidget parent) { + private native void newTDEToolBar(TQWidget parent, String name); + public TDEToolBar(TQWidget parent) { super((Class) null); - newKToolBar(parent); + newTDEToolBar(parent); } - private native void newKToolBar(TQWidget parent); + private native void newTDEToolBar(TQWidget parent); /** Constructor for non-XML-GUI applications. The toolbar will read in various global config settings for @@ -112,31 +112,31 @@ public class KToolBar extends TQToolBar { @param readConfig whether to apply the configuration (global and application-specific) @short Constructor for non-XML-GUI applications. */ - public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { + public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); + newTDEToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); } - private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle) { + private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); + public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name,honorStyle); + newTDEToolBar(parentWindow,dock,newLine,name,honorStyle); } - private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle); - public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name) { + private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle); + public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name); + newTDEToolBar(parentWindow,dock,newLine,name); } - private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name); - public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine) { + private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name); + public TDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine) { super((Class) null); - newKToolBar(parentWindow,dock,newLine); + newTDEToolBar(parentWindow,dock,newLine); } - private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine); - public KToolBar(TQMainWindow parentWindow, int dock) { + private native void newTDEToolBar(TQMainWindow parentWindow, int dock, boolean newLine); + public TDEToolBar(TQMainWindow parentWindow, int dock) { super((Class) null); - newKToolBar(parentWindow,dock); + newTDEToolBar(parentWindow,dock); } - private native void newKToolBar(TQMainWindow parentWindow, int dock); + private native void newTDEToolBar(TQMainWindow parentWindow, int dock); /** Constructor for non-XML-GUI applications. The toolbar will read in various global config settings for @@ -151,36 +151,36 @@ public class KToolBar extends TQToolBar { @param readConfig whether to apply the configuration (global and application-specific) @short Constructor for non-XML-GUI applications. */ - public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { + public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); + newTDEToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); } - private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle) { + private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); + public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name,honorStyle); + newTDEToolBar(parentWindow,dock,newLine,name,honorStyle); } - private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle); - public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name) { + private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle); + public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name) { super((Class) null); - newKToolBar(parentWindow,dock,newLine,name); + newTDEToolBar(parentWindow,dock,newLine,name); } - private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name); - public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine) { + private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name); + public TDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine) { super((Class) null); - newKToolBar(parentWindow,dock,newLine); + newTDEToolBar(parentWindow,dock,newLine); } - private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine); - public KToolBar(TQMainWindow parentWindow, TQWidget dock) { + private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine); + public TDEToolBar(TQMainWindow parentWindow, TQWidget dock) { super((Class) null); - newKToolBar(parentWindow,dock); + newTDEToolBar(parentWindow,dock); } - private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock); + private native void newTDEToolBar(TQMainWindow parentWindow, TQWidget dock); /** - Insert a button (a KToolBarButton) with a pixmap. The + Insert a button (a TDEToolBarButton) with a pixmap. The pixmap is loaded by the button itself based on the global icon settings. - You should connect to one or more signals in KToolBar: + You should connect to one or more signals in TDEToolBar: clicked() , pressed() , released() , or highlighted() and if the button is a toggle button ( setToggle() ) toggled() . Those signals have <code>id</code> @@ -194,7 +194,7 @@ public class KToolBar extends TQToolBar { @param _instance instance this button will belong to @return The item index. - @short Insert a button (a KToolBarButton) with a pixmap. + @short Insert a button (a TDEToolBarButton) with a pixmap. */ public native int insertButton(String icon, int id, boolean enabled, String text, int index, TDEInstanceInterface _instance); public native int insertButton(String icon, int id, boolean enabled, String text, int index); @@ -224,13 +224,13 @@ public class KToolBar extends TQToolBar { public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled); public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot); /** - Inserts a button (a KToolBarButton) with the specified + Inserts a button (a TDEToolBarButton) with the specified pixmap. This pixmap will be used as the "active" one and the disabled and default ones will be autogenerated. It is recommended that you use the insertButton function that allows you to specify the icon name rather then the pixmap itself. Specifying the icon name is much more flexible. - You should connect to one or more signals in KToolBar: + You should connect to one or more signals in TDEToolBar: clicked() , pressed() , released() , or highlighted() and if the button is a toggle button ( setToggle() ) toggled() . Those signals have <code>id</code> @@ -243,7 +243,7 @@ public class KToolBar extends TQToolBar { @param index The position of the button. (-1 = at end). @return The item index. - @short Inserts a button (a KToolBarButton) with the specified pixmap. + @short Inserts a button (a TDEToolBarButton) with the specified pixmap. */ public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text, int index); public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text); @@ -581,31 +581,31 @@ public class KToolBar extends TQToolBar { */ public native KComboBox getCombo(int id); /** - Returns a pointer to KToolBarLined with <code>id.</code> + Returns a pointer to TDEToolBarLined with <code>id.</code> Example: <pre> - KLineEdit lined = toolbar.getKToolBarLined(lined_id); + KLineEdit lined = toolbar.getTDEToolBarLined(lined_id); </pre> That way you can get access to other public methods that KLineEdit provides. KLineEdit is the same thing as TQLineEdit plus completion signals. - @return a pointer to KToolBarLined with <code>id.</code> + @return a pointer to TDEToolBarLined with <code>id.</code> - @short Returns a pointer to KToolBarLined with <code>id.</code> + @short Returns a pointer to TDEToolBarLined with <code>id.</code> */ public native KLineEdit getLined(int id); /** - Returns a pointer to KToolBarButton. + Returns a pointer to TDEToolBarButton. Example: <pre> - KToolBarButton button = toolbar.getButton(button_id); + TDEToolBarButton button = toolbar.getButton(button_id); </pre> That way you can get access to other public methods - that KToolBarButton provides. + that TDEToolBarButton provides. Using this method is not recommended. - @short Returns a pointer to KToolBarButton. + @short Returns a pointer to TDEToolBarButton. */ - public native KToolBarButton getButton(int id); + public native TDEToolBarButton getButton(int id); /** Align item to the right. This works only if toolbar is set to full width. diff --git a/kdejava/koala/org/kde/koala/KToolBarButton.java b/kdejava/koala/org/kde/koala/TDEToolBarButton.java index 25bbd746..538619cc 100644 --- a/kdejava/koala/org/kde/koala/KToolBarButton.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarButton.java @@ -18,14 +18,14 @@ import org.kde.qt.TQToolButton; /** - A toolbar button. This is used internally by KToolBar, use the - KToolBar methods instead. - See {@link KToolBarButtonSignals} for signals emitted by KToolBarButton + A toolbar button. This is used internally by TDEToolBar, use the + TDEToolBar methods instead. + See {@link TDEToolBarButtonSignals} for signals emitted by TDEToolBarButton @short A toolbar button. */ -public class KToolBarButton extends TQToolButton { - protected KToolBarButton(Class dummy){super((Class) null);} +public class TDEToolBarButton extends TQToolButton { + protected TDEToolBarButton(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** @@ -40,26 +40,26 @@ public class KToolBarButton extends TQToolButton { @param _instance the instance to use for this button @short Construct a button with an icon loaded by the button itself. */ - public KToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance) { + public TDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance) { super((Class) null); - newKToolBarButton(icon,id,parent,name,txt,_instance); + newTDEToolBarButton(icon,id,parent,name,txt,_instance); } - private native void newKToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance); - public KToolBarButton(String icon, int id, TQWidget parent, String name, String txt) { + private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt, TDEInstanceInterface _instance); + public TDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt) { super((Class) null); - newKToolBarButton(icon,id,parent,name,txt); + newTDEToolBarButton(icon,id,parent,name,txt); } - private native void newKToolBarButton(String icon, int id, TQWidget parent, String name, String txt); - public KToolBarButton(String icon, int id, TQWidget parent, String name) { + private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name, String txt); + public TDEToolBarButton(String icon, int id, TQWidget parent, String name) { super((Class) null); - newKToolBarButton(icon,id,parent,name); + newTDEToolBarButton(icon,id,parent,name); } - private native void newKToolBarButton(String icon, int id, TQWidget parent, String name); - public KToolBarButton(String icon, int id, TQWidget parent) { + private native void newTDEToolBarButton(String icon, int id, TQWidget parent, String name); + public TDEToolBarButton(String icon, int id, TQWidget parent) { super((Class) null); - newKToolBarButton(icon,id,parent); + newTDEToolBarButton(icon,id,parent); } - private native void newKToolBarButton(String icon, int id, TQWidget parent); + private native void newTDEToolBarButton(String icon, int id, TQWidget parent); /** Construct a button with an existing pixmap. It is not recommended that you use this as the internal icon loading code @@ -71,42 +71,42 @@ public class KToolBarButton extends TQToolButton { @param txt This button's text (in a tooltip or otherwise) @short Construct a button with an existing pixmap. */ - public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt) { + public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt) { super((Class) null); - newKToolBarButton(pixmap,id,parent,name,txt); + newTDEToolBarButton(pixmap,id,parent,name,txt); } - private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt); - public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name) { + private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt); + public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name) { super((Class) null); - newKToolBarButton(pixmap,id,parent,name); + newTDEToolBarButton(pixmap,id,parent,name); } - private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name); - public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent) { + private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name); + public TDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent) { super((Class) null); - newKToolBarButton(pixmap,id,parent); + newTDEToolBarButton(pixmap,id,parent); } - private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent); + private native void newTDEToolBarButton(TQPixmap pixmap, int id, TQWidget parent); /** Construct a separator button @param parent This button's parent @param name This button's internal name @short Construct a separator button */ - public KToolBarButton(TQWidget parent, String name) { + public TDEToolBarButton(TQWidget parent, String name) { super((Class) null); - newKToolBarButton(parent,name); + newTDEToolBarButton(parent,name); } - private native void newKToolBarButton(TQWidget parent, String name); - public KToolBarButton(TQWidget parent) { + private native void newTDEToolBarButton(TQWidget parent, String name); + public TDEToolBarButton(TQWidget parent) { super((Class) null); - newKToolBarButton(parent); + newTDEToolBarButton(parent); } - private native void newKToolBarButton(TQWidget parent); - public KToolBarButton() { + private native void newTDEToolBarButton(TQWidget parent); + public TDEToolBarButton() { super((Class) null); - newKToolBarButton(); + newTDEToolBarButton(); } - private native void newKToolBarButton(); + private native void newTDEToolBarButton(); /** Set the text for this button. The text will be either used as a tooltip (IconOnly) or will be along side the icon diff --git a/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java b/kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java index 6df48ea4..f393d1f1 100644 --- a/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java @@ -14,7 +14,7 @@ import org.kde.qt.TQIconSet; import org.kde.qt.TQWidget; import org.kde.qt.TQPalette; -public interface KToolBarButtonSignals { +public interface TDEToolBarButtonSignals { /** Emitted when the toolbar button is clicked (with LMB or MMB) @short Emitted when the toolbar button is clicked (with LMB or MMB) diff --git a/kdejava/koala/org/kde/koala/KToolBarPopupAction.java b/kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java index 203285c0..fcbdbaea 100644 --- a/kdejava/koala/org/kde/koala/KToolBarPopupAction.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java @@ -17,42 +17,42 @@ import org.kde.qt.TQWidget; @short This action is a normal action everywhere, except in a toolbar where it also has a popupmenu (optionnally delayed). */ -public class KToolBarPopupAction extends KAction { - protected KToolBarPopupAction(Class dummy){super((Class) null);} +public class TDEToolBarPopupAction extends TDEAction { + protected TDEToolBarPopupAction(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Create a KToolBarPopupAction, with a text, an icon, an optional accelerator, + Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name. @param text The text that will be displayed. @param icon The icon to display. @param cut The corresponding keyboard accelerator (shortcut). @param parent This action's parent. @param name An internal name for this action. - @short Create a KToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name. + @short Create a TDEToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name. */ - public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent, String name) { + public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name) { super((Class) null); - newKToolBarPopupAction(text,icon,cut,parent,name); + newTDEToolBarPopupAction(text,icon,cut,parent,name); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent, String name); - public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent) { + private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent, String name); + public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent) { super((Class) null); - newKToolBarPopupAction(text,icon,cut,parent); + newTDEToolBarPopupAction(text,icon,cut,parent); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent); - public KToolBarPopupAction(String text, String icon, KShortcut cut) { + private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject parent); + public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut) { super((Class) null); - newKToolBarPopupAction(text,icon,cut); + newTDEToolBarPopupAction(text,icon,cut); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut); - public KToolBarPopupAction(String text, String icon) { + private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut); + public TDEToolBarPopupAction(String text, String icon) { super((Class) null); - newKToolBarPopupAction(text,icon); + newTDEToolBarPopupAction(text,icon); } - private native void newKToolBarPopupAction(String text, String icon); + private native void newTDEToolBarPopupAction(String text, String icon); /** - Create a KToolBarPopupAction, with a text, an icon, an accelerator, + Create a TDEToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. If you do not want or have a keyboard accelerator, set the <code>cut</code> param to 0. @@ -63,20 +63,20 @@ public class KToolBarPopupAction extends KAction { @param slot The SLOT to invoke to execute this action. @param parent This action's parent. @param name An internal name for this action. - @short Create a KToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. + @short Create a TDEToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. */ - public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { + public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); - newKToolBarPopupAction(text,icon,cut,receiver,slot,parent,name); + newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent,name); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); - public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent) { + private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public TDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); - newKToolBarPopupAction(text,icon,cut,receiver,slot,parent); + newTDEToolBarPopupAction(text,icon,cut,receiver,slot,parent); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent); + private native void newTDEToolBarPopupAction(String text, String icon, TDEShortcut cut, TQObject receiver, String slot, TQObject parent); /** - Create a KToolBarPopupAction, with a KGuiItem, an accelerator, + Create a TDEToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. The text and the icon are taken from the KGuiItem. If you do not want or have a keyboard accelerator, set the @@ -87,13 +87,13 @@ public class KToolBarPopupAction extends KAction { @param slot The SLOT to invoke to execute this action. @param parent This action's parent. @param name An internal name for this action. - @short Create a KToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. + @short Create a TDEToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. */ - public KToolBarPopupAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { + public TDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) { super((Class) null); - newKToolBarPopupAction(item,cut,receiver,slot,parent,name); + newTDEToolBarPopupAction(item,cut,receiver,slot,parent,name); } - private native void newKToolBarPopupAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + private native void newTDEToolBarPopupAction(KGuiItem item, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name); public native int plug(TQWidget widget, int index); public native int plug(TQWidget widget); /** @@ -102,18 +102,18 @@ public class KToolBarPopupAction extends KAction { aboutToShow for a more dynamic menu. @short The popup menu that is shown when clicking (some time) on the toolbar button. */ - public native KPopupMenu popupMenu(); + public native TDEPopupMenu popupMenu(); /** Returns true if this action creates a delayed popup menu - when plugged in a KToolbar. - @short Returns true if this action creates a delayed popup menu when plugged in a KToolbar. + when plugged in a TDEToolbar. + @short Returns true if this action creates a delayed popup menu when plugged in a TDEToolbar. */ public native boolean delayed(); /** If set to true, this action will create a delayed popup menu - when plugged in a KToolbar. Otherwise it creates a normal popup. + when plugged in a TDEToolbar. Otherwise it creates a normal popup. Default: delayed. - @short If set to true, this action will create a delayed popup menu when plugged in a KToolbar. + @short If set to true, this action will create a delayed popup menu when plugged in a TDEToolbar. */ public native void setDelayed(boolean delayed); /** @@ -124,13 +124,13 @@ public class KToolBarPopupAction extends KAction { public native boolean stickyMenu(); /** If set to true, this action will create a sticky popup menu - when plugged in a KToolbar. + when plugged in a TDEToolbar. "Sticky", means it's visible until a selection is made or the mouse is clicked elsewhere. This feature allows you to make a selection without having to press and hold down the mouse while making a selection. Only available if delayed() is true. Default: sticky. - @short If set to true, this action will create a sticky popup menu when plugged in a KToolbar. + @short If set to true, this action will create a sticky popup menu when plugged in a TDEToolbar. */ public native void setStickyMenu(boolean sticky); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java b/kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java index adf9576f..8a1f0492 100644 --- a/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java @@ -8,9 +8,9 @@ import org.kde.qt.TQObject; /** - KToolBarRadioGroup is class for group of radio butons in toolbar. + TDEToolBarRadioGroup is class for group of radio butons in toolbar. Take toggle buttons which you already inserted into toolbar, - create KToolBarRadioGroup instance and add them here. + create TDEToolBarRadioGroup instance and add them here. All buttons will emit signals toggled (boolean) (or you can use sitgnal toggled (int id) from toolbar). When one button is set down, all others are unset. All buttons emit signals - those who @@ -20,24 +20,24 @@ import org.kde.qt.TQObject; @short Class for group of radio butons in toolbar. */ -public class KToolBarRadioGroup extends TQObject { - protected KToolBarRadioGroup(Class dummy){super((Class) null);} +public class TDEToolBarRadioGroup extends TQObject { + protected TDEToolBarRadioGroup(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** - Constructor. Parent must be KToolBar . + Constructor. Parent must be TDEToolBar . @short Constructor. */ - public KToolBarRadioGroup(KToolBar _parent, String _name) { + public TDEToolBarRadioGroup(TDEToolBar _parent, String _name) { super((Class) null); - newKToolBarRadioGroup(_parent,_name); + newTDEToolBarRadioGroup(_parent,_name); } - private native void newKToolBarRadioGroup(KToolBar _parent, String _name); - public KToolBarRadioGroup(KToolBar _parent) { + private native void newTDEToolBarRadioGroup(TDEToolBar _parent, String _name); + public TDEToolBarRadioGroup(TDEToolBar _parent) { super((Class) null); - newKToolBarRadioGroup(_parent); + newTDEToolBarRadioGroup(_parent); } - private native void newKToolBarRadioGroup(KToolBar _parent); + private native void newTDEToolBarRadioGroup(TDEToolBar _parent); /** Adds button to group. Button cannot be unset by mouse clicks (you must press some other button tounset this one) diff --git a/kdejava/koala/org/kde/koala/KToolBarSeparator.java b/kdejava/koala/org/kde/koala/TDEToolBarSeparator.java index 8ac7cf9c..300bf700 100644 --- a/kdejava/koala/org/kde/koala/KToolBarSeparator.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarSeparator.java @@ -13,20 +13,20 @@ import org.kde.qt.TQFrame; /** */ -public class KToolBarSeparator extends TQFrame { - protected KToolBarSeparator(Class dummy){super((Class) null);} +public class TDEToolBarSeparator extends TQFrame { + protected TDEToolBarSeparator(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); - public KToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name) { + public TDEToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name) { super((Class) null); - newKToolBarSeparator(arg1,l,parent,name); + newTDEToolBarSeparator(arg1,l,parent,name); } - private native void newKToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name); - public KToolBarSeparator(int arg1, boolean l, TQToolBar parent) { + private native void newTDEToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name); + public TDEToolBarSeparator(int arg1, boolean l, TQToolBar parent) { super((Class) null); - newKToolBarSeparator(arg1,l,parent); + newTDEToolBarSeparator(arg1,l,parent); } - private native void newKToolBarSeparator(int arg1, boolean l, TQToolBar parent); + private native void newTDEToolBarSeparator(int arg1, boolean l, TQToolBar parent); public native TQSize sizeHint(); public native int orientation(); public native TQSizePolicy sizePolicy(); diff --git a/kdejava/koala/org/kde/koala/KToolBarSignals.java b/kdejava/koala/org/kde/koala/TDEToolBarSignals.java index a1a98cc2..35737d4e 100644 --- a/kdejava/koala/org/kde/koala/KToolBarSignals.java +++ b/kdejava/koala/org/kde/koala/TDEToolBarSignals.java @@ -18,7 +18,7 @@ import org.kde.qt.TQResizeEvent; import org.kde.qt.TQDomElement; import org.kde.qt.TQChildEvent; -public interface KToolBarSignals { +public interface TDEToolBarSignals { /** Emitted when button <code>id</code> is clicked. @short Emitted when button <code>id</code> is clicked. @@ -81,8 +81,8 @@ public interface KToolBarSignals { /** Emitted when toolbar changes position, or when an item is removed from toolbar. - If you subclass KMainWindow and reimplement - KMainWindow.resizeEvent() be sure to connect to + If you subclass TDEMainWindow and reimplement + TDEMainWindow.resizeEvent() be sure to connect to this signal. Note: You can connect this signal to a slot that doesn't take parameter. @short Emitted when toolbar changes position, or when an item is removed from toolbar. @@ -98,10 +98,10 @@ public interface KToolBarSignals { void modechange(); /** This signal is emitted when the toolbar is getting deleted, - and before ~KToolbar finishes (so it's still time to remove + and before ~TDEToolbar finishes (so it's still time to remove widgets from the toolbar). Used by KWidgetAction. - @short This signal is emitted when the toolbar is getting deleted, and before ~KToolbar finishes (so it's still time to remove widgets from the toolbar). + @short This signal is emitted when the toolbar is getting deleted, and before ~TDEToolbar finishes (so it's still time to remove widgets from the toolbar). */ void toolbarDestroyed(); } diff --git a/kdejava/koala/test/kbase/KBase.java b/kdejava/koala/test/kbase/KBase.java index 0e0117de..1be572bd 100644 --- a/kdejava/koala/test/kbase/KBase.java +++ b/kdejava/koala/test/kbase/KBase.java @@ -8,16 +8,16 @@ import org.kde.koala.*; * window and reads the config file as well as providing a menubar, toolbar * and statusbar. An instance of KBaseView creates your center view, which is connected * to the window's Doc object. - * KBase reimplements the methods that KMainWindow provides for main window handling and supports - * full session management as well as using KActions. - * @see KMainWindow + * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports + * full session management as well as using TDEActions. + * @see TDEMainWindow * @see TDEApplication * @see TDEConfig * * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @version KDevelop version 1.2 code generation */ -public class KBase extends KMainWindow +public class KBase extends TDEMainWindow { public static final int ID_STATUS_MSG = 1; @@ -34,21 +34,21 @@ public class KBase extends KMainWindow */ private KBaseDoc doc; - // KAction references to enable/disable actions - private KAction fileNewWindow; - private KAction fileNew; - private KAction fileOpen; - private KRecentFilesAction fileOpenRecent; - private KAction fileSave; - private KAction fileSaveAs; - private KAction fileClose; - private KAction filePrint; - private KAction fileQuit; - private KAction editCut; - private KAction editCopy; - private KAction editPaste; - private KToggleAction viewToolBar; - private KToggleAction viewStatusBar; + // TDEAction references to enable/disable actions + private TDEAction fileNewWindow; + private TDEAction fileNew; + private TDEAction fileOpen; + private TDERecentFilesAction fileOpenRecent; + private TDEAction fileSave; + private TDEAction fileSaveAs; + private TDEAction fileClose; + private TDEAction filePrint; + private TDEAction fileQuit; + private TDEAction editCut; + private TDEAction editCopy; + private TDEAction editPaste; + private TDEToggleAction viewToolBar; + private TDEToggleAction viewStatusBar; /** construtor of KBase, calls all init functions to create the application. */ @@ -81,13 +81,13 @@ public KBase() this(null, null); } - /** initializes the KActions of the application */ + /** initializes the TDEActions of the application */ protected void initActions() { - fileNewWindow = new KAction(tr("New &Window"), "", new KShortcut(), this, SLOT("slotFileNewWindow()"), actionCollection(),"file_new_window"); + fileNewWindow = new TDEAction(tr("New &Window"), "", new TDEShortcut(), this, SLOT("slotFileNewWindow()"), actionCollection(),"file_new_window"); fileNew = KStdAction.openNew(this, SLOT("slotFileNew()"), actionCollection()); fileOpen = KStdAction.open(this, SLOT("slotFileOpen()"), actionCollection()); - fileOpenRecent = (KRecentFilesAction) KStdAction.openRecent(this, SLOT("slotFileOpenRecent(KURL)"), actionCollection()); + fileOpenRecent = (TDERecentFilesAction) KStdAction.openRecent(this, SLOT("slotFileOpenRecent(KURL)"), actionCollection()); fileSave = KStdAction.save(this, SLOT("slotFileSave()"), actionCollection()); fileSaveAs = KStdAction.saveAs(this, SLOT("slotFileSaveAs()"), actionCollection()); // this one crashes for me... @@ -216,7 +216,7 @@ protected void readOptions() // bar position settings // int toolBarPos; - //Pos=(int) config.readNumEntry("ToolBarPos", KToolBar.Top); + //Pos=(int) config.readNumEntry("ToolBarPos", TDEToolBar.Top); // toolBar("mainToolBar").setBarPos(toolBarPos); // initialize the recent file list @@ -446,11 +446,11 @@ public void slotFileQuit() saveOptions(); // close the first window, the list makes the next one the first again. // This ensures that queryClose() is called on each window to ask for closing - KMainWindow w; + TDEMainWindow w; Iterator it = memberList().iterator(); while(it.hasNext()) { - w=(KMainWindow)it.next(); + w=(TDEMainWindow)it.next(); // only close the window if the closeEvent is accepted. If the user presses Cancel on the saveModified() dialog, // the window and the application stay open. if(!w.close()) diff --git a/kdejava/koala/test/kbase/KBaseDoc.java b/kdejava/koala/test/kbase/KBaseDoc.java index d253123b..8c42c40d 100644 --- a/kdejava/koala/test/kbase/KBaseDoc.java +++ b/kdejava/koala/test/kbase/KBaseDoc.java @@ -6,7 +6,7 @@ import org.kde.koala.*; /** KBaseDoc provides a document object for a document-view model. * * The KBaseDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KBaseView - * to create a document-view model for standard KDE applications based on TDEApplication and KMainWindow. Thereby, the document object + * to create a document-view model for standard KDE applications based on TDEApplication and TDEMainWindow. Thereby, the document object * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document * data by KBaseView objects. Also, KBaseDoc contains the methods for serialization of the document data from and to files. * diff --git a/kdejava/koala/test/kfontdialog/KFontDialogTest.java b/kdejava/koala/test/kfontdialog/TDEFontDialogTest.java index 4fc6fa1b..c758b9e9 100644 --- a/kdejava/koala/test/kfontdialog/KFontDialogTest.java +++ b/kdejava/koala/test/kfontdialog/TDEFontDialogTest.java @@ -28,27 +28,27 @@ import org.kde.koala.*; */ /** - * Class to test KFontDialog widgets. + * Class to test TDEFontDialog widgets. * * This is a translation to java from kfontdialogtest.cpp in the tests library * of tdeui source. * - * @see KFontDialog + * @see TDEFontDialog * @see TDEApplication * @see TDEConfig * * @author Bernd Johannes Wuebben, java translation Kenneth J. Pouncey, kjpou@hotmail.com * @version 0.1 */ -public class KFontDialogTest { +public class TDEFontDialogTest { - static String description = "Java KFontDialog test program."; + static String description = "Java TDEFontDialog test program."; static String[][] options = { }; static String VERSION = "0.1"; public static void main(String[] cmdLineArgs) { - TDEAboutData aboutData = new TDEAboutData( "kfontdialogtest", "KFontDialogTest", + TDEAboutData aboutData = new TDEAboutData( "kfontdialogtest", "TDEFontDialogTest", VERSION, description, TDEAboutData.License_GPL, "(c) 2002, Kenneth J. Pouncey"); aboutData.addAuthor("Kenneth J. Pouncey",null, "kjpou@hotmail.com"); @@ -61,7 +61,7 @@ public class KFontDialogTest { TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); TDEConfig aConfig = new TDEConfig(); - aConfig.setGroup( "KFontDialog-test" ); + aConfig.setGroup( "TDEFontDialog-test" ); // parameters are Font name, Font Point Size, Font Style, Font Italic app.setFont(new TQFont("Helvetica",12,TQFont.Normal,false)); @@ -69,14 +69,14 @@ public class KFontDialogTest { TQFont font = aConfig.readFontEntry( "Chosen" ); - int nRet = KFontDialog.getFont(font); + int nRet = TDEFontDialog.getFont(font); - // return values from KFontDialog + // return values from TDEFontDialog // nRet = 1 for OK Button // nRet = 0 for Cancel button if (nRet == 1) { // print out font values - System.out.println("Ok Button pressed from KFontDialog "); + System.out.println("Ok Button pressed from TDEFontDialog "); System.out.println(" Font name selected: " + font.family()); System.out.println(" Font Point Size selected: " + font.pointSize()); System.out.println(" Font Bold?: " + font.bold()); @@ -88,10 +88,10 @@ public class KFontDialogTest { int[] flags = { 0 }; - //Static method for KFontDialog needs to be generated - nRet = KFontDialog.getFontDiff(font, flags); + //Static method for TDEFontDialog needs to be generated + nRet = TDEFontDialog.getFontDiff(font, flags); if (nRet == 1) { - System.out.println("Ok Button pressed from KFontDialog diff dialog "); + System.out.println("Ok Button pressed from TDEFontDialog diff dialog "); System.out.println(" Font diff flags: " + flags[0]); System.out.println(" Font name selected: " + font.family()); System.out.println(" Font Point Size selected: " + font.pointSize()); diff --git a/kdejava/koala/test/khelpers/KHelpers.java b/kdejava/koala/test/khelpers/KHelpers.java index 8274b6bd..04235f14 100644 --- a/kdejava/koala/test/khelpers/KHelpers.java +++ b/kdejava/koala/test/khelpers/KHelpers.java @@ -10,14 +10,14 @@ import org.kde.koala.*; * * * - * @see KMainWindow + * @see TDEMainWindow * @see TDEApplication * * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com * @version 0.1 */ -public class KHelpers extends KMainWindow { +public class KHelpers extends TDEMainWindow { // File menu item id's protected int idfilenew; diff --git a/kdejava/koala/test/kmenu/KdeMenuSample.java b/kdejava/koala/test/kmenu/KdeMenuSample.java index 533da226..3ffbb4d0 100644 --- a/kdejava/koala/test/kmenu/KdeMenuSample.java +++ b/kdejava/koala/test/kmenu/KdeMenuSample.java @@ -10,7 +10,7 @@ import org.kde.koala.kdejava; import org.kde.qt.qtjava; -import org.kde.koala.KMainWindow; +import org.kde.koala.TDEMainWindow; import org.kde.koala.TDECmdLineArgs; import org.kde.qt.TQPopupMenu; import org.kde.qt.TQTextView; @@ -31,7 +31,7 @@ import org.kde.koala.KPushButton; * The kde.org KDE Tutorial from Antonio Larrosa Jimenez * http://person.wanadoo.es/antlarr/tutorial */ -public class KdeMenuSample extends KMainWindow { +public class KdeMenuSample extends TDEMainWindow { static { qtjava.initialize(); diff --git a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java b/kdejava/koala/test/simplebrowser/KSimpleBrowser.java index c5797e45..b859f60d 100644 --- a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java +++ b/kdejava/koala/test/simplebrowser/KSimpleBrowser.java @@ -10,7 +10,7 @@ import org.kde.koala.*; * * A Simple Web Browser - A feature-limited Web Browser. * - * @see KMainWindow + * @see TDEMainWindow * @see TDEApplication * @see TDEHTMLPart * @@ -18,7 +18,7 @@ import org.kde.koala.*; * @version 0.1 */ -public class KSimpleBrowser extends KMainWindow { +public class KSimpleBrowser extends TDEMainWindow { static final int URLLined = 1; diff --git a/kdejava/koala/test/tdeioslave/KioslaveTest.java b/kdejava/koala/test/tdeioslave/KioslaveTest.java index d8f9f683..e4e88c8c 100644 --- a/kdejava/koala/test/tdeioslave/KioslaveTest.java +++ b/kdejava/koala/test/tdeioslave/KioslaveTest.java @@ -13,7 +13,7 @@ import org.kde.qt.*; import org.kde.koala.*; import java.io.ByteArrayOutputStream; -class KioslaveTest extends KMainWindow { +class KioslaveTest extends TDEMainWindow { static final int List = 0; static final int ListRecursive = 1; |