diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:07 -0600 |
commit | 3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch) | |
tree | 23ba07d28f7fad17824db1fc40e9cf1ad4942480 /kdejava/koala/kdejava/TDEMainWindow.cpp | |
parent | 3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff) | |
download | tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdejava/koala/kdejava/TDEMainWindow.cpp')
-rw-r--r-- | kdejava/koala/kdejava/TDEMainWindow.cpp | 1639 |
1 files changed, 1639 insertions, 0 deletions
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); +} + |