You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1640 lines
56 KiB
1640 lines
56 KiB
//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);
|
|
}
|
|
|